home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Reference / the MacTech Archives / MacTech Vol 10-1994 < prev    next >
MacBinary  |  1996-04-25  |  13.8 MB  |  [Guid/DanR]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Fri Jul 14 09:14:34 1995, modified Wed Apr 24 21:32:09 1996, creator 'DanR', type 'Guid', 5545270 bytes "MacTech Vol 10-1994" , at 0x549db6 8931367 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[Guid]
macFileCreator[DanR]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 4d 61 63 54 65 63 | 68 20 56 6f 6c 20 31 30 |..MacTec|h Vol 10|
|00000010| 2d 31 39 39 34 00 00 00 | 00 00 00 00 00 00 00 00 |-1994...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 47 75 69 64 44 61 6e | 52 01 00 00 00 00 00 00 |.GuidDan|R.......|
|00000050| 00 00 00 00 54 9d 36 00 | 88 48 27 ac 2c 1e 3a ad |....T.6.|.H'.,.:.|
|00000060| a4 86 99 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a8 93 00 00 |........|........|
|00000080| 4e 47 4d 43 00 5d 44 52 | 00 00 00 00 00 0f 4a 61 |NGMC.]DR|......Ja|
|00000090| 6e 20 39 34 20 4e 65 77 | 73 62 69 74 73 00 00 8b |n 94 New|sbits...|
|000000a0| 00 00 00 0c 00 09 00 0f | c2 c2 fb 00 32 4e 75 6d |........|....2Num|
|000000b0| 62 65 72 3a 97 31 30 00 | 00 00 00 18 00 09 00 11 |ber:.10.|........|
|000000c0| c2 c2 49 73 73 75 65 20 | 4e 75 6d 62 65 72 3a a2 |..Issue |Number:.|
|000000d0| 31 00 00 00 00 24 00 09 | 00 16 c2 c2 43 6f 6c 75 |1....$..|....Colu|
|000000e0| 6d 6e 20 54 61 67 3a b0 | 4e 65 77 73 62 69 74 73 |mn Tag:.|Newsbits|
|000000f0| 00 00 00 55 00 09 00 2e | c3 c3 53 69 6d 70 6c 65 |...U....|..Simple|
|00000100| 20 52 65 61 6c 2d 74 69 | 6d 65 20 43 6f 6c 6f 72 | Real-ti|me Color|
|00000110| 20 46 72 61 6d 65 20 41 | 6e 69 6d 61 74 69 6f 6e | Frame A|nimation|
|00000120| 9d f0 00 80 00 31 00 00 | 00 68 00 09 00 22 c4 c4 |.....1..|.h..."..|
|00000130| 42 79 20 4e 65 69 6c 20 | 54 69 63 6b 74 69 6e 2c |By Neil |Ticktin,|
|00000140| 20 45 64 69 74 6f 72 2d | 69 6e 2d 43 68 69 65 66 | Editor-|in-Chief|
|00000150| 00 00 00 8a 00 a1 00 15 | c2 c2 53 6f 75 72 63 65 |........|..Source|
|00000160| 20 43 6f 64 65 20 45 73 | 63 72 6f 77 73 00 00 00 | Code Es|crows...|
|00000170| 00 9b 00 24 00 4b 46 69 | 64 65 78 20 41 6d 65 72 |...$.KFi|dex Amer|
|00000180| 69 63 61 73 20 43 6f 72 | 70 6f 72 61 74 69 6f 6e |icas Cor|poration|
|00000190| 20 68 61 73 20 61 6e 6e | 6f 75 6e 63 65 64 20 61 | has ann|ounced a|
|000001a0| 20 73 6f 75 72 63 65 20 | 63 6f 64 65 20 65 73 63 | source |code esc|
|000001b0| 72 6f 77 20 73 65 72 76 | 69 63 65 20 fe 00 31 65 |row serv|ice ..1e|
|000001c0| 64 00 00 00 00 a7 00 09 | 00 57 74 6f 20 6d 65 65 |d.......|.Wto mee|
|000001d0| 74 20 74 68 65 20 6e 65 | 65 64 73 20 6f 66 20 69 |t the ne|eds of i|
|000001e0| 6e 64 65 70 65 6e 64 65 | 6e 74 20 73 6f 66 74 77 |ndepende|nt softw|
|000001f0| 61 72 65 20 64 65 76 65 | 6c 6f 70 65 72 73 20 61 |are deve|lopers a|
|00000200| 6e 64 20 74 68 65 69 72 | 20 63 6c 69 65 6e 74 73 |nd their| clients|
|00000210| 2e 20 20 4d 6f 72 65 20 | 74 68 61 6e 20 68 61 6c |. More |than hal|
|00000220| 66 00 00 00 00 b3 00 09 | 00 57 74 68 65 20 73 6f |f.......|.Wthe so|
|00000230| 66 74 77 61 72 65 20 63 | 6f 6d 70 61 6e 69 65 73 |ftware c|ompanies|
|00000240| 20 69 6e 20 74 68 65 20 | 55 2e 53 2e 20 65 6d 70 | in the |U.S. emp|
|00000250| 6c 6f 79 20 74 68 72 65 | 65 20 70 65 6f 70 6c 65 |loy thre|e people|
|00000260| 20 6f 72 20 6c 65 73 73 | 2e 20 20 54 68 65 73 65 | or less|. These|
|00000270| 20 73 6d 61 6c 6c 20 64 | 65 76 65 6c 6f 70 65 72 | small d|eveloper|
|00000280| 73 00 00 00 00 bf 00 09 | 00 55 6f 66 66 65 72 20 |s.......|.Uoffer |
|00000290| 75 6e 73 75 72 70 61 73 | 73 65 64 20 65 78 70 65 |unsurpas|sed expe|
|000002a0| 72 74 69 73 65 2c 20 72 | 65 73 70 6f 6e 73 69 76 |rtise, r|esponsiv|
|000002b0| 65 6e 65 73 73 2c 20 61 | 6e 64 20 70 72 69 63 69 |eness, a|nd prici|
|000002c0| 6e 67 2e 20 20 41 74 20 | 74 68 65 20 73 61 6d 65 |ng. At |the same|
|000002d0| 20 74 69 6d 65 20 74 68 | 6f 75 67 68 2c 20 61 00 | time th|ough, a.|
|000002e0| 00 00 00 cb 00 09 00 57 | 73 69 6e 67 6c 65 20 61 |.......W|single a|
|000002f0| 63 63 69 64 65 6e 74 20 | 63 61 6e 20 70 75 74 20 |ccident |can put |
|00000300| 61 20 63 6f 6d 70 61 6e | 79 20 6c 69 6b 65 20 74 |a compan|y like t|
|00000310| 68 69 73 20 6f 75 74 20 | 6f 66 20 62 75 73 69 6e |his out |of busin|
|00000320| 65 73 73 2e 20 20 53 6f | 20 61 20 70 6f 74 65 6e |ess. So| a poten|
|00000330| 74 69 61 6c 20 63 6c 69 | 65 6e 74 20 6d 61 79 00 |tial cli|ent may.|
|00000340| 00 00 00 d7 00 09 00 3f | 68 65 73 69 74 61 74 65 |.......?|hesitate|
|00000350| 20 74 6f 20 65 6e 74 72 | 75 73 74 20 74 68 65 69 | to entr|ust thei|
|00000360| 72 20 63 72 75 63 69 61 | 6c 20 70 72 6f 6a 65 63 |r crucia|l projec|
|00000370| 74 20 74 6f 20 61 20 73 | 6d 61 6c 6c 20 64 65 76 |t to a s|mall dev|
|00000380| 65 6c 6f 70 65 72 2e 00 | 00 00 00 e3 00 24 00 47 |eloper..|.....$.G|
|00000390| 49 66 20 61 20 63 75 73 | 74 6f 6d 20 70 72 6f 67 |If a cus|tom prog|
|000003a0| 72 61 6d 20 6e 65 65 64 | 73 20 74 6f 20 62 65 20 |ram need|s to be |
|000003b0| 75 70 64 61 74 65 64 20 | 61 6e 64 20 74 68 65 20 |updated |and the |
|000003c0| 64 65 76 65 6c 6f 70 65 | 72 20 77 68 6f 20 77 72 |develope|r who wr|
|000003d0| 6f 74 65 20 74 68 65 00 | 00 00 00 ef 00 09 00 55 |ote the.|.......U|
|000003e0| 73 6f 66 74 77 61 72 65 | 20 69 73 20 6f 75 74 20 |software| is out |
|000003f0| 6f 66 20 62 75 73 69 6e | 65 73 73 2c 20 77 68 61 |of busin|ess, wha|
|00000400| 74 20 63 61 6e 20 74 68 | 65 20 75 73 65 72 20 64 |t can th|e user d|
|00000410| 6f 3f 20 20 54 68 65 20 | 6e 65 77 20 53 6f 66 74 |o? The |new Soft|
|00000420| 77 61 72 65 20 53 65 63 | 75 72 69 74 79 20 53 65 |ware Sec|urity Se|
|00000430| 72 76 69 63 65 00 00 00 | 00 fb 00 09 00 55 66 72 |rvice...|.....Ufr|
|00000440| 6f 6d 20 46 69 64 65 78 | 20 41 6d 65 72 69 63 61 |om Fidex| America|
|00000450| 73 20 43 6f 72 70 6f 72 | 61 74 69 6f 6e 20 67 69 |s Corpor|ation gi|
|00000460| 76 65 73 20 74 68 65 20 | 73 6f 66 74 77 61 72 65 |ves the |software|
|00000470| 20 64 65 76 65 6c 6f 70 | 65 72 20 61 20 77 61 79 | develop|er a way|
|00000480| 20 74 6f 20 61 6c 6c 65 | 76 69 61 74 65 20 74 68 | to alle|viate th|
|00000490| 65 69 72 00 00 00 01 07 | 00 09 00 11 63 6c 69 65 |eir.....|....clie|
|000004a0| 6e 74 27 73 20 63 6f 6e | 63 65 72 6e 2e 00 00 00 |nt's con|cern....|
|000004b0| 01 13 00 24 00 51 54 68 | 65 20 63 6f 6e 63 65 70 |...$.QTh|e concep|
|000004c0| 74 20 69 73 20 73 69 6d | 70 6c 65 3a 20 20 69 6e |t is sim|ple: in|
|000004d0| 20 6f 72 64 65 72 20 74 | 6f 20 67 75 61 72 61 6e | order t|o guaran|
|000004e0| 74 65 65 20 74 68 61 74 | 20 74 68 65 69 72 20 63 |tee that| their c|
|000004f0| 6c 69 65 6e 74 27 73 20 | 63 75 73 74 6f 6d 20 73 |lient's |custom s|
|00000500| 6f 66 74 77 61 72 65 00 | 00 00 01 1f 00 09 00 58 |oftware.|.......X|
|00000510| 77 69 6c 6c 20 62 65 20 | 6d 61 69 6e 74 61 69 6e |will be |maintain|
|00000520| 65 64 20 66 6f 72 20 61 | 73 20 6c 6f 6e 67 20 61 |ed for a|s long a|
|00000530| 73 20 74 68 65 79 20 6e | 65 65 64 20 69 74 20 74 |s they n|eed it t|
|00000540| 68 65 20 73 6f 66 74 77 | 61 72 65 20 64 65 76 65 |he softw|are deve|
|00000550| 6c 6f 70 65 72 20 64 65 | 70 6f 73 69 74 73 20 61 |loper de|posits a|
|00000560| 20 63 6f 70 79 20 6f 66 | 00 00 01 2b 00 09 00 30 | copy of|...+...0|
|00000570| 74 68 65 20 73 6f 75 72 | 63 65 20 63 6f 64 65 20 |the sour|ce code |
|00000580| 77 69 74 68 20 46 69 64 | 65 78 20 41 6d 65 72 69 |with Fid|ex Ameri|
|00000590| 63 61 73 20 43 6f 72 70 | 6f 72 61 74 69 6f 6e 2e |cas Corp|oration.|
|000005a0| 00 00 01 37 00 24 00 4b | 54 68 65 20 73 6f 75 72 |...7.$.K|The sour|
|000005b0| 63 65 20 63 6f 64 65 20 | 69 73 20 61 63 63 6f 6d |ce code |is accom|
|000005c0| 70 61 6e 69 65 64 20 62 | 79 20 61 20 77 72 69 74 |panied b|y a writ|
|000005d0| 74 65 6e 20 61 67 72 65 | 65 6d 65 6e 74 20 62 65 |ten agre|ement be|
|000005e0| 74 77 65 65 6e 20 74 68 | 65 20 64 65 76 65 6c 6f |tween th|e develo|
|000005f0| 70 65 72 00 00 00 01 43 | 00 09 00 59 61 6e 64 20 |per....C|...Yand |
|00000600| 63 6c 69 65 6e 74 20 64 | 65 74 61 69 6c 69 6e 67 |client d|etailing|
|00000610| 20 74 68 65 20 fe 00 15 | 73 20 74 68 61 74 20 74 | the ...|s that t|
|00000620| 72 69 67 67 65 72 20 72 | 65 6c 65 61 73 65 20 6f |rigger r|elease o|
|00000630| 66 20 74 68 65 20 73 6f | 75 72 63 65 20 63 6f 64 |f the so|urce cod|
|00000640| 65 20 74 6f 20 74 68 65 | 20 63 6c 69 65 6e 74 2e |e to the| client.|
|00000650| 20 20 54 68 65 00 00 00 | 01 4f 00 09 00 53 64 65 | The...|.O...Sde|
|00000660| 70 6f 73 69 74 20 6d 61 | 74 65 72 69 61 6c 73 20 |posit ma|terials |
|00000670| 61 72 65 20 73 74 6f 72 | 65 64 20 62 79 20 46 69 |are stor|ed by Fi|
|00000680| 64 65 78 20 41 6d 65 72 | 69 63 61 73 20 69 6e 20 |dex Amer|icas in |
|00000690| 61 20 63 6c 69 6d 61 74 | 65 20 63 6f 6e 74 72 6f |a climat|e contro|
|000006a0| 6c 6c 65 64 20 73 75 62 | 74 65 72 72 61 6e 65 61 |lled sub|terranea|
|000006b0| 6e 00 00 00 01 5b 00 09 | 00 44 76 61 75 6c 74 2c |n....[..|.Dvault,|
|000006c0| 20 77 68 69 6c 65 20 62 | 6f 74 68 20 74 68 65 20 | while b|oth the |
|000006d0| 73 6f 66 74 77 61 72 65 | 20 64 65 76 65 6c 6f 70 |software| develop|
|000006e0| 65 72 20 61 6e 64 20 74 | 68 65 69 72 20 63 6c 69 |er and t|heir cli|
|000006f0| 65 6e 74 20 72 65 73 74 | 20 65 61 73 79 2e 00 00 |ent rest| easy...|
|00000700| 01 67 00 24 00 41 46 6f | 72 20 6d 6f 72 65 20 fe |.g.$.AFo|r more .|
|00000710| 00 1f 2c 20 63 6f 6e 74 | 61 63 74 20 46 69 64 65 |.., cont|act Fide|
|00000720| 78 20 41 6d 65 72 69 63 | 61 73 20 43 6f 72 70 6f |x Americ|as Corpo|
|00000730| 72 61 74 69 6f 6e 2c 20 | 38 32 31 20 46 69 72 20 |ration, |821 Fir |
|00000740| 53 74 72 65 65 74 2c 00 | 00 00 01 73 00 09 00 3c |Street,.|...s...<|
|00000750| 53 61 6e 64 70 6f 69 6e | 74 2c 20 49 44 20 38 33 |Sandpoin|t, ID 83|
|00000760| 38 36 34 2c 20 56 6f 69 | 63 65 3a 20 32 30 38 2f |864, Voi|ce: 208/|
|00000770| 32 36 33 2d 35 33 34 38 | 2c 20 46 61 78 3a 20 32 |263-5348|, Fax: 2|
|00000780| 30 38 2f 32 36 35 2d 34 | 31 39 31 2e 00 00 01 89 |08/265-4|191.....|
|00000790| 00 ab 00 11 c2 c2 33 44 | 47 72 61 70 68 69 63 73 |......3D|Graphics|
|000007a0| 20 42 6f 6f 6b 00 00 00 | 01 9a 00 24 00 4b 41 64 | Book...|...$.KAd|
|000007b0| 64 69 73 6f 6e 2d 57 65 | 73 6c 65 79 20 68 61 73 |dison-We|sley has|
|000007c0| 20 72 65 6c 65 61 73 65 | 64 20 74 68 65 20 73 65 | release|d the se|
|000007d0| 63 6f 6e 64 20 65 64 69 | 74 69 6f 6e 20 6f 66 20 |cond edi|tion of |
|000007e0| 61 20 62 6f 6f 6b 20 63 | 61 6c 6c 65 64 20 33 44 |a book c|alled 3D|
|000007f0| 20 43 6f 6d 70 75 74 65 | 72 00 00 00 01 a6 00 09 | Compute|r.......|
|00000800| 00 54 47 72 61 70 68 69 | 63 73 20 62 79 20 41 6c |.TGraphi|cs by Al|
|00000810| 61 6e 20 57 61 74 74 2e | 20 20 54 68 69 73 20 6e |an Watt.| This n|
|00000820| 65 77 20 65 64 69 74 69 | 6f 6e 20 6f 66 20 46 75 |ew editi|on of Fu|
|00000830| 6e 64 61 6d 65 6e 74 61 | 6c 73 20 6f 66 20 33 44 |ndamenta|ls of 3D|
|00000840| 20 43 6f 6d 70 75 74 65 | 72 20 47 72 61 70 68 69 | Compute|r Graphi|
|00000850| 63 73 20 68 61 73 00 00 | 01 b2 00 09 00 54 62 65 |cs has..|.....Tbe|
|00000860| 65 6e 20 65 78 74 65 6e | 73 69 76 65 6c 79 20 72 |en exten|sively r|
|00000870| 65 76 69 73 65 64 20 74 | 6f 20 74 61 6b 65 20 6e |evised t|o take n|
|00000880| 65 77 20 64 65 76 65 6c | 6f 70 6d 65 6e 74 73 20 |ew devel|opments |
|00000890| 69 6e 20 67 72 61 70 68 | 69 63 73 20 69 6e 74 6f |in graph|ics into|
|000008a0| 20 61 63 63 6f 75 6e 74 | 2e 20 20 49 74 20 69 73 | account|. It is|
|000008b0| 20 61 00 00 01 be 00 09 | 00 4f 63 6f 6d 70 72 65 | a......|.Ocompre|
|000008c0| 68 65 6e 73 69 76 65 20 | 69 6e 74 72 6f 64 75 63 |hensive |introduc|
|000008d0| 74 69 6f 6e 20 74 6f 20 | 74 68 65 20 74 65 63 68 |tion to |the tech|
|000008e0| 6e 69 71 75 65 73 20 6e | 65 65 64 65 64 20 74 6f |niques n|eeded to|
|000008f0| 20 70 72 6f 64 75 63 65 | 20 73 68 61 64 65 64 20 | produce| shaded |
|00000900| 69 6d 61 67 65 73 20 69 | 6e 00 00 00 01 ca 00 09 |images i|n.......|
|00000910| 00 53 74 68 72 65 65 2d | 64 69 6d 65 6e 73 69 6f |.Sthree-|dimensio|
|00000920| 6e 61 6c 20 73 6f 6c 69 | 64 73 20 6f 6e 20 61 20 |nal soli|ds on a |
|00000930| 63 6f 6d 70 75 74 65 72 | 20 67 72 61 70 68 69 63 |computer| graphic|
|00000940| 73 20 6d 6f 6e 69 74 6f | 72 2e 20 20 54 68 65 20 |s monito|r. The |
|00000950| 61 69 6d 20 6f 66 20 74 | 68 65 20 62 6f 6f 6b 20 |aim of t|he book |
|00000960| 69 73 20 74 6f 00 00 00 | 01 d6 00 09 00 52 67 69 |is to...|.....Rgi|
|00000970| 76 65 20 61 20 74 68 65 | 6f 72 65 74 69 63 61 6c |ve a the|oretical|
|00000980| 20 75 6e 64 65 72 73 74 | 61 6e 64 69 6e 67 20 6f | underst|anding o|
|00000990| 66 20 74 68 65 73 65 20 | 74 65 63 68 6e 69 71 75 |f these |techniqu|
|000009a0| 65 73 20 74 6f 67 65 74 | 68 65 72 20 77 69 74 68 |es toget|her with|
|000009b0| 20 74 68 65 20 70 72 6f | 67 72 61 6d 6d 69 6e 67 | the pro|gramming|
|000009c0| 00 00 01 e2 00 09 00 4f | 65 78 70 65 72 74 69 73 |.......O|expertis|
|000009d0| 65 20 72 65 71 75 69 72 | 65 64 20 74 6f 20 69 6d |e requir|ed to im|
|000009e0| 70 6c 65 6d 65 6e 74 20 | 74 68 65 6d 2e 20 20 49 |plement |them. I|
|000009f0| 74 20 66 65 61 74 75 72 | 65 73 20 6e 65 77 20 6d |t featur|es new m|
|00000a00| 61 74 65 72 69 61 6c 20 | 6f 6e 20 6d 6f 64 65 6c |aterial |on model|
|00000a10| 69 6e 67 20 61 6e 64 00 | 00 00 01 ee 00 09 00 46 |ing and.|.......F|
|00000a20| 72 65 70 72 65 73 65 6e | 74 61 74 69 6f 6e 2c 20 |represen|tation, |
|00000a30| 76 69 65 77 69 6e 67 20 | fe 00 2c 73 2c 20 70 61 |viewing |..,s, pa|
|00000a40| 72 61 6d 65 74 72 69 63 | 20 72 65 70 72 65 73 65 |rametric| represe|
|00000a50| 6e 74 61 74 69 6f 6e 20 | 61 6e 64 20 73 63 69 65 |ntation |and scie|
|00000a60| 6e 74 69 66 69 63 00 00 | 01 fa 00 09 00 55 76 69 |ntific..|.....Uvi|
|00000a70| 73 75 61 6c 69 7a 61 74 | 69 6f 6e 2e 20 20 54 68 |sualizat|ion. Th|
|00000a80| 65 20 62 6f 6f 6b 20 69 | 73 20 72 69 63 68 6c 79 |e book i|s richly|
|00000a90| 20 69 6c 6c 75 73 74 72 | 61 74 65 64 20 77 69 74 | illustr|ated wit|
|00000aa0| 68 20 77 6f 72 6c 64 2d | 63 6c 61 73 73 20 67 72 |h world-|class gr|
|00000ab0| 61 70 68 69 63 73 2c 20 | 6d 61 6e 79 20 6f 66 20 |aphics, |many of |
|00000ac0| fe 00 34 00 00 00 02 06 | 00 09 00 1b 61 72 65 20 |..4.....|....are |
|00000ad0| 70 72 6f 64 75 63 65 64 | 20 62 79 20 74 68 65 20 |produced| by the |
|00000ae0| 61 75 74 68 6f 72 2e 00 | 00 00 02 12 00 24 00 51 |author..|.....$.Q|
|00000af0| 48 69 67 68 6c 69 67 68 | 74 73 20 6f 66 20 74 68 |Highligh|ts of th|
|00000b00| 65 20 6e 65 77 20 65 64 | 69 74 69 6f 6e 20 69 6e |e new ed|ition in|
|00000b10| 63 6c 75 64 65 20 65 78 | 70 61 6e 64 65 64 20 63 |clude ex|panded c|
|00000b20| 6f 76 65 72 61 67 65 20 | 6f 66 20 6b 65 79 20 74 |overage |of key t|
|00000b30| 6f 70 69 63 73 2c 20 69 | 6e 63 6c 75 64 69 6e 67 |opics, i|ncluding|
|00000b40| 3a 00 00 00 02 1e 00 09 | 00 49 4d 6f 64 65 6c 69 |:.......|.IModeli|
|00000b50| 6e 67 20 61 6e 64 20 72 | 65 70 72 65 73 65 6e 74 |ng and r|epresent|
|00000b60| 61 74 69 6f 6e 3b 20 56 | 69 65 77 69 6e 67 20 fe |ation; V|iewing .|
|00000b70| 00 2c 73 3b 20 50 61 72 | 61 6d 65 74 72 69 63 20 |.,s; Par|ametric |
|00000b80| 72 65 70 72 65 73 65 6e | 74 61 74 69 6f 6e 3b 20 |represen|tation; |
|00000b90| 61 6e 64 00 00 00 02 2a | 00 09 00 38 53 63 69 65 |and....*|...8Scie|
|00000ba0| 6e 74 69 66 69 63 20 76 | 69 73 75 61 6c 69 7a 61 |ntific v|isualiza|
|00000bb0| 74 69 6f 6e 2e 20 20 54 | 68 65 20 62 6f 6f 6b 20 |tion. T|he book |
|00000bc0| 69 73 20 70 72 69 63 65 | 64 20 61 74 20 24 34 38 |is price|d at $48|
|00000bd0| 2e 35 30 2e 00 00 02 36 | 00 24 00 43 46 6f 72 20 |.50....6|.$.CFor |
|00000be0| 6d 6f 72 65 20 fe 00 1f | 2c 20 63 6f 6e 74 61 63 |more ...|, contac|
|00000bf0| 74 20 41 64 64 69 73 6f | 6e 2d 57 65 73 6c 65 79 |t Addiso|n-Wesley|
|00000c00| 20 50 75 62 6c 69 73 68 | 69 6e 67 20 47 72 6f 75 | Publish|ing Grou|
|00000c10| 70 2c 20 31 20 4a 61 63 | 6f 62 20 57 61 79 2c 00 |p, 1 Jac|ob Way,.|
|00000c20| 00 00 02 42 00 09 00 28 | 52 65 61 64 69 6e 67 20 |...B...(|Reading |
|00000c30| 2c 20 4d 41 20 30 31 38 | 36 37 2c 20 56 6f 69 63 |, MA 018|67, Voic|
|00000c40| 65 3a 20 36 31 37 2f 39 | 34 34 2d 33 37 30 30 2e |e: 617/9|44-3700.|
|00000c50| 00 00 02 58 00 af 00 0d | c2 c2 fb 00 1e 50 68 6f |...X....|.....Pho|
|00000c60| 74 6f 20 43 44 00 00 00 | 02 69 00 24 00 43 54 68 |to CD...|.i.$.CTh|
|00000c70| 65 20 43 6f 6c 6f 72 20 | fb 00 28 68 61 73 20 72 |e Color |..(has r|
|00000c80| 65 6c 65 61 73 65 64 20 | 61 20 77 68 69 74 65 20 |eleased |a white |
|00000c90| 70 61 70 65 72 20 28 69 | 6e 20 62 6f 6f 6b 20 66 |paper (i|n book f|
|00000ca0| 6f 72 6d 61 74 29 20 63 | 61 6c 6c 65 64 20 fc 00 |ormat) c|alled ..|
|00000cb0| 1e 00 00 00 02 75 00 09 | 00 52 50 68 6f 74 6f 20 |.....u..|.RPhoto |
|00000cc0| 43 44 3a 20 4d 61 72 6b | 65 74 69 6e 67 20 4f 70 |CD: Mark|eting Op|
|00000cd0| 70 6f 72 74 75 6e 69 74 | 69 65 73 20 69 6e 20 61 |portunit|ies in a|
|00000ce0| 20 6c 65 61 64 69 6e 67 | 20 45 64 67 65 20 54 65 | leading| Edge Te|
|00000cf0| 63 68 6e 6f 6c 6f 67 79 | 2e 20 20 54 65 63 68 6e |chnology|. Techn|
|00000d00| 6f 6c 6f 67 79 20 62 75 | 79 69 6e 67 00 00 02 81 |ology bu|ying....|
|00000d10| 00 09 00 52 69 6e 64 69 | 63 61 74 69 6f 6e 73 20 |...Rindi|cations |
|00000d20| 73 68 6f 77 20 73 69 67 | 6e 69 66 69 63 61 6e 74 |show sig|nificant|
|00000d30| 20 73 75 70 70 6f 72 74 | 20 66 6f 72 20 50 68 6f | support| for Pho|
|00000d40| 74 6f 20 43 44 2c 20 69 | 6d 70 6c 79 69 6e 67 20 |to CD, i|mplying |
|00000d50| 77 69 64 65 73 70 72 65 | 61 64 20 75 73 65 20 6f |widespre|ad use o|
|00000d60| 66 20 74 68 69 73 00 00 | 02 8d 00 09 00 55 69 6d |f this..|.....Uim|
|00000d70| 70 6f 72 74 61 6e 74 20 | 69 6d 61 67 69 6e 67 20 |portant |imaging |
|00000d80| 66 6f 72 6d 61 74 20 61 | 6e 64 20 74 68 65 20 6c |format a|nd the l|
|00000d90| 69 6b 65 6c 79 20 65 6d | 65 72 67 65 6e 63 65 20 |ikely em|ergence |
|00000da0| 6f 66 20 61 20 73 74 61 | 6e 64 61 72 64 2e 20 20 |of a sta|ndard. |
|00000db0| 54 68 69 73 20 72 65 70 | 6f 72 74 20 68 61 73 20 |This rep|ort has |
|00000dc0| 68 61 64 00 00 00 02 99 | 00 09 00 56 73 74 72 6f |had.....|...Vstro|
|00000dd0| 6e 67 20 65 61 72 6c 79 | 20 73 75 70 70 6f 72 74 |ng early| support|
|00000de0| 20 61 6d 6f 6e 67 20 67 | 72 61 70 68 69 63 73 20 | among g|raphics |
|00000df0| 61 72 74 73 20 70 72 6f | 66 65 73 73 69 6f 6e 61 |arts pro|fessiona|
|00000e00| 6c 73 20 66 6f 72 20 4b | 6f 64 61 6b 27 73 20 69 |ls for K|odak's i|
|00000e10| 6d 61 67 69 6e 67 20 74 | 65 63 68 6e 6f 6c 6f 67 |maging t|echnolog|
|00000e20| 79 2e 00 00 02 a5 00 09 | 00 4e fb 00 1e 50 68 6f |y.......|.N...Pho|
|00000e30| 74 6f 20 43 44 20 73 68 | 6f 77 73 20 72 65 61 64 |to CD sh|ows read|
|00000e40| 65 72 73 20 77 68 65 72 | 65 20 65 61 72 6c 79 20 |ers wher|e early |
|00000e50| 61 64 6f 70 74 65 72 73 | 20 61 72 65 20 61 70 70 |adopters| are app|
|00000e60| 6c 79 69 6e 67 20 74 68 | 65 20 74 65 63 68 6e 6f |lying th|e techno|
|00000e70| 6c 6f 67 79 20 61 6e 64 | 00 00 02 b1 00 09 00 4d |logy and|.......M|
|00000e80| 68 6f 77 20 74 68 65 79 | 20 61 72 65 20 6d 61 72 |how they| are mar|
|00000e90| 6b 65 74 69 6e 67 20 69 | 74 2e 20 20 fb 00 1e 50 |keting i|t. ...P|
|00000ea0| 68 6f 74 6f 20 43 44 20 | 65 78 70 6c 61 69 6e 73 |hoto CD |explains|
|00000eb0| 20 77 68 65 72 65 20 74 | 68 65 20 6d 61 72 6b 65 | where t|he marke|
|00000ec0| 74 20 6f 70 70 6f 72 74 | 75 6e 69 74 79 00 00 00 |t opport|unity...|
|00000ed0| 02 bd 00 09 00 4c 65 78 | 69 73 74 73 20 74 68 72 |.....Lex|ists thr|
|00000ee0| 6f 75 67 68 20 66 69 72 | 73 74 2d 68 61 6e 64 20 |ough fir|st-hand |
|00000ef0| 63 6f 6d 6d 65 6e 74 61 | 72 79 20 62 79 20 70 72 |commenta|ry by pr|
|00000f00| 65 70 72 65 73 73 20 70 | 72 6f 64 75 63 74 69 6f |epress p|roductio|
|00000f10| 6e 20 fe 00 24 73 20 61 | 6e 64 20 63 6f 6d 70 61 |n ..$s a|nd compa|
|00000f20| 6e 79 00 00 02 c9 00 09 | 00 50 70 72 65 73 69 64 |ny......|.Ppresid|
|00000f30| 65 6e 74 73 2c 20 62 6f | 74 68 20 75 73 65 72 73 |ents, bo|th users|
|00000f40| 20 61 6e 64 20 76 65 6e | 64 6f 72 73 20 6f 66 20 | and ven|dors of |
|00000f50| 74 68 65 20 73 63 61 6e | 6e 65 64 20 69 6d 61 67 |the scan|ned imag|
|00000f60| 65 73 20 69 6e 20 70 72 | 6f 64 75 63 74 69 6f 6e |es in pr|oduction|
|00000f70| 20 73 65 74 74 69 6e 67 | 73 2e 00 00 02 d5 00 24 | setting|s......$|
|00000f80| 00 3f 46 6f 72 20 6d 6f | 72 65 20 fe 00 1f 2c 20 |.?For mo|re ..., |
|00000f90| 63 6f 6e 74 61 63 74 20 | 54 68 65 20 43 6f 6c 6f |contact |The Colo|
|00000fa0| 72 20 fc 00 28 2c 20 37 | 30 38 20 4d 6f 6e 74 67 |r ..(, 7|08 Montg|
|00000fb0| 6f 6d 65 72 79 20 53 74 | 72 65 65 74 2c 20 53 61 |omery St|reet, Sa|
|00000fc0| 6e 00 00 00 02 e1 00 09 | 00 3c 46 72 61 6e 63 69 |n.......|.<Franci|
|00000fd0| 73 63 6f 2c 20 43 41 20 | 39 34 31 31 31 2c 20 56 |sco, CA |94111, V|
|00000fe0| 6f 69 63 65 3a 20 34 31 | 35 2f 33 39 38 2d 35 33 |oice: 41|5/398-53|
|00000ff0| 33 37 2c 20 46 61 78 3a | 20 34 31 35 2f 33 39 38 |37, Fax:| 415/398|
|00001000| 2d 35 33 33 39 2e 00 00 | 02 f7 00 a5 00 14 c2 c2 |-5339...|........|
|00001010| 50 61 69 67 65 20 66 72 | 6f 6d 20 64 61 74 61 70 |Paige fr|om datap|
|00001020| 61 6b 00 00 03 08 00 24 | 00 4d 44 61 74 61 50 61 |ak.....$|.MDataPa|
|00001030| 6b 20 53 6f 66 74 77 61 | 72 65 2c 20 49 6e 63 2e |k Softwa|re, Inc.|
|00001040| 20 61 6e 6e 6f 75 6e 63 | 65 73 20 74 68 65 20 41 | announc|es the A|
|00001050| 6c 70 68 61 20 76 65 72 | 73 69 6f 6e 20 72 65 6c |lpha ver|sion rel|
|00001060| 65 61 73 65 20 6f 66 20 | 61 20 72 65 76 6f 6c 75 |ease of |a revolu|
|00001070| 74 69 6f 6e 61 72 79 00 | 00 00 03 14 00 09 00 3b |tionary.|.......;|
|00001080| 6e 65 77 20 63 72 6f 73 | 73 2d 70 6c 61 74 66 6f |new cros|s-platfo|
|00001090| 72 6d 20 64 65 76 65 6c | 6f 70 6d 65 6e 74 20 74 |rm devel|opment t|
|000010a0| 6f 6f 6c 2c 20 63 6f 64 | 65 20 6e 61 6d 65 64 20 |ool, cod|e named |
|000010b0| ff d2 50 41 49 47 45 ff | d3 2e 20 00 00 00 03 20 |..PAIGE.|.. .... |
|000010c0| 00 24 00 48 4e 6f 77 20 | 74 65 78 74 20 68 61 6e |.$.HNow |text han|
|000010d0| 64 6c 69 6e 67 20 61 6e | 64 20 66 6f 72 6d 61 74 |dling an|d format|
|000010e0| 74 69 6e 67 20 66 6f 72 | 20 64 69 76 65 72 73 65 |ting for| diverse|
|000010f0| 20 fe 00 02 73 20 66 72 | 6f 6d 20 73 69 6d 70 6c | ...s fr|om simpl|
|00001100| 65 20 65 64 69 74 6f 72 | 73 20 74 6f 00 00 03 2c |e editor|s to...,|
|00001110| 00 09 00 4d 66 75 6c 6c | 20 62 6c 6f 77 6e 20 70 |...Mfull| blown p|
|00001120| 61 67 65 20 6c 61 79 6f | 75 74 20 61 6e 64 20 70 |age layo|ut and p|
|00001130| 6f 77 65 72 68 6f 75 73 | 65 20 77 6f 72 64 20 70 |owerhous|e word p|
|00001140| 72 6f 63 65 73 73 6f 72 | 73 20 63 61 6e 20 62 65 |rocessor|s can be|
|00001150| 20 61 63 63 6f 6d 70 6c | 69 73 68 65 64 20 66 6f | accompl|ished fo|
|00001160| 72 00 00 00 03 38 00 09 | 00 23 6d 75 6c 74 69 70 |r....8..|.#multip|
|00001170| 6c 65 20 70 6c 61 74 66 | 6f 72 6d 73 20 62 79 20 |le platf|orms by |
|00001180| 75 73 69 6e 67 20 50 61 | 69 67 65 2e 20 00 00 00 |using Pa|ige. ...|
|00001190| 03 44 00 24 00 4c 49 6e | 20 74 68 65 20 73 61 6d |.D.$.LIn| the sam|
|000011a0| 65 20 77 61 79 20 74 68 | 61 74 20 57 6f 72 64 20 |e way th|at Word |
|000011b0| 53 6f 6c 75 74 69 6f 6e | 20 45 6e 67 69 6e 65 20 |Solution| Engine |
|000011c0| 61 6c 6c 6f 77 65 64 20 | 64 65 76 65 6c 6f 70 65 |allowed |develope|
|000011d0| 72 73 20 74 6f 20 6f 76 | 65 72 63 6f 6d 65 20 74 |rs to ov|ercome t|
|000011e0| 68 65 00 00 03 50 00 09 | 00 55 33 32 4b 20 62 61 |he...P..|.U32K ba|
|000011f0| 72 72 69 65 72 20 28 61 | 6e 64 20 6f 74 68 65 72 |rrier (a|nd other|
|00001200| 20 66 72 75 73 74 72 61 | 74 69 6e 67 20 6c 69 6d | frustra|ting lim|
|00001210| 69 74 61 74 69 6f 6e 73 | 20 6f 66 20 fc 00 03 ff |itations| of ....|
|00001220| d5 73 20 54 65 78 74 45 | 64 69 74 29 2c 20 50 61 |.s TextE|dit), Pa|
|00001230| 69 67 65 20 70 72 6f 6d | 69 73 65 73 20 74 6f 00 |ige prom|ises to.|
|00001240| 00 00 03 5c 00 09 00 57 | 64 65 6c 69 76 65 72 20 |...\...W|deliver |
|00001250| 65 76 65 6e 20 67 72 65 | 61 74 65 72 20 63 61 70 |even gre|ater cap|
|00001260| 61 62 69 6c 69 74 69 65 | 73 20 66 6f 72 20 61 20 |abilitie|s for a |
|00001270| 6e 75 6d 62 65 72 20 6f | 66 20 50 43 20 70 6c 61 |number o|f PC pla|
|00001280| 74 66 6f 72 6d 73 2e 20 | 20 50 6c 61 6e 73 20 61 |tforms. | Plans a|
|00001290| 72 65 20 69 6e 20 74 68 | 65 20 77 6f 72 6b 73 00 |re in th|e works.|
|000012a0| 00 00 03 68 00 09 00 4d | 74 6f 20 6d 61 6b 65 20 |...h...M|to make |
|000012b0| 69 74 20 61 76 61 69 6c | 61 62 6c 65 20 66 6f 72 |it avail|able for|
|000012c0| 20 4d 61 63 69 6e 74 6f | 73 68 2c 20 44 4f 53 2c | Macinto|sh, DOS,|
|000012d0| 20 fc 00 33 73 2c 20 fc | 00 33 73 20 4e 54 20 61 | ..3s, .|.3s NT a|
|000012e0| 6e 64 20 55 6e 69 78 2e | 20 20 20 50 61 69 67 65 |nd Unix.| Paige|
|000012f0| 20 77 69 6c 6c 00 00 00 | 03 74 00 09 00 2c 62 65 | will...|.t...,be|
|00001300| 20 63 6f 6d 70 61 74 69 | 62 6c 65 20 77 69 74 68 | compati|ble with|
|00001310| 20 62 6f 74 68 20 42 65 | 64 72 6f 63 6b 20 61 6e | both Be|drock an|
|00001320| 64 20 50 6f 77 65 72 50 | 43 2e 00 00 03 80 00 24 |d PowerP|C......$|
|00001330| 00 48 53 69 6e 63 65 20 | 74 68 65 20 62 75 6c 6b |.HSince |the bulk|
|00001340| 20 6f 66 20 50 61 69 67 | 65 ff d5 73 20 63 6f 64 | of Paig|e..s cod|
|00001350| 65 20 69 73 20 6d 61 63 | 68 69 6e 65 20 69 6e 64 |e is mac|hine ind|
|00001360| 65 70 65 6e 64 65 6e 74 | 2c 20 fe 00 02 73 20 75 |ependent|, ...s u|
|00001370| 73 69 6e 67 20 50 61 69 | 67 65 00 00 03 8c 00 09 |sing Pai|ge......|
|00001380| 00 51 77 69 6c 6c 20 62 | 65 20 63 6f 6d 70 6c 65 |.Qwill b|e comple|
|00001390| 74 65 6c 79 20 70 6f 72 | 74 61 62 6c 65 2e 20 49 |tely por|table. I|
|000013a0| 74 20 66 69 6c 6c 73 20 | 74 68 65 20 67 61 70 20 |t fills |the gap |
|000013b0| 74 68 61 74 20 fe 00 0a | 6c 79 20 65 78 69 73 74 |that ...|ly exist|
|000013c0| 73 20 66 6f 72 20 73 6f | 70 68 69 73 74 69 63 61 |s for so|phistica|
|000013d0| 74 65 64 00 00 00 03 98 | 00 09 00 1d 6d 75 6c 74 |ted.....|....mult|
|000013e0| 69 2d 70 6c 61 74 66 6f | 72 6d 20 74 65 78 74 20 |i-platfo|rm text |
|000013f0| 68 61 6e 64 6c 69 6e 67 | 2e 00 00 00 03 a4 00 24 |handling|.......$|
|00001400| 00 4e 44 53 49 20 69 73 | 20 73 63 68 65 64 75 6c |.NDSI is| schedul|
|00001410| 65 64 20 74 6f 20 6f 66 | 66 69 63 69 61 6c 6c 79 |ed to of|ficially|
|00001420| 20 72 65 6c 65 61 73 65 | 20 50 61 69 67 65 20 64 | release| Paige d|
|00001430| 75 72 69 6e 67 20 74 68 | 65 20 66 69 72 73 74 20 |uring th|e first |
|00001440| 71 75 61 72 74 65 72 20 | 6f 66 20 31 39 39 34 2e |quarter |of 1994.|
|00001450| 00 00 03 b0 00 24 00 43 | 46 6f 72 20 6d 6f 72 65 |.....$.C|For more|
|00001460| 20 fe 00 1f 2c 20 63 6f | 6e 74 61 63 74 20 44 61 | ..., co|ntact Da|
|00001470| 74 61 50 61 6b 20 53 6f | 66 74 77 61 72 65 2c 20 |taPak So|ftware, |
|00001480| 49 6e 63 2e 2c 20 39 33 | 31 37 20 4e 45 20 48 77 |Inc., 93|17 NE Hw|
|00001490| 79 20 39 39 2c 20 53 75 | 69 74 65 00 00 00 03 bc |y 99, Su|ite.....|
|000014a0| 00 09 00 44 47 2c 20 56 | 61 6e 63 6f 75 76 65 72 |...DG, V|ancouver|
|000014b0| 2c 20 57 41 20 39 38 36 | 36 35 2d 38 39 30 30 2c |, WA 986|65-8900,|
|000014c0| 20 56 6f 69 63 65 3a 20 | 32 30 36 2f 35 37 33 2d | Voice: |206/573-|
|000014d0| 39 31 35 35 2c 20 46 61 | 78 3a 20 32 30 36 2f 35 |9155, Fa|x: 206/5|
|000014e0| 37 33 2d 39 32 36 39 2c | 00 00 03 c8 00 09 00 41 |73-9269,|.......A|
|000014f0| fc 00 03 4c 69 6e 6b 3a | 20 44 30 31 34 32 2c 20 |...Link:| D0142, |
|00001500| 41 6d 65 72 69 63 61 20 | 4f 6e 6c 69 6e 65 3a 20 |America |Online: |
|00001510| 44 41 54 41 50 41 4b 31 | 2c 20 43 6f 6d 70 75 53 |DATAPAK1|, CompuS|
|00001520| 65 72 76 65 3a 20 37 36 | 34 32 34 2c 33 30 32 37 |erve: 76|424,3027|
|00001530| 2e 00 00 00 03 de 00 93 | 00 19 c2 c2 43 6f 6d 70 |........|....Comp|
|00001540| 75 73 65 72 76 65 20 69 | 6e 74 72 6f 73 20 31 34 |userve i|ntros 14|
|00001550| 2e 34 21 00 00 00 03 ef | 00 24 00 48 48 69 67 68 |.4!.....|.$.HHigh|
|00001560| 2d 73 70 65 65 64 20 61 | 63 63 65 73 73 20 61 74 |-speed a|ccess at|
|00001570| 20 31 34 2e 34 20 6b 69 | 6c 6f 62 69 74 73 20 70 | 14.4 ki|lobits p|
|00001580| 65 72 20 73 65 63 6f 6e | 64 20 28 6b 62 70 73 29 |er secon|d (kbps)|
|00001590| 20 69 73 20 6e 6f 77 20 | 61 76 61 69 6c 61 62 6c | is now |availabl|
|000015a0| 65 20 74 6f 00 00 03 fb | 00 09 00 4c 43 6f 6d 70 |e to....|...LComp|
|000015b0| 75 53 65 72 76 65 20 fb | 00 1f 53 65 72 76 69 63 |uServe .|..Servic|
|000015c0| 65 20 6d 65 6d 62 65 72 | 73 20 69 6e 20 31 30 20 |e member|s in 10 |
|000015d0| 55 2e 53 2e 20 63 69 74 | 69 65 73 20 61 74 20 74 |U.S. cit|ies at t|
|000015e0| 68 65 20 73 61 6d 65 20 | 70 72 69 63 65 20 61 73 |he same |price as|
|000015f0| 20 69 74 73 20 39 2e 36 | 00 00 04 07 00 09 00 50 | its 9.6|.......P|
|00001600| 6b 62 70 73 20 20 73 65 | 72 76 69 63 65 2e 20 20 |kbps se|rvice. |
|00001610| 43 6f 6d 70 75 53 65 72 | 76 65 20 69 73 20 74 68 |CompuSer|ve is th|
|00001620| 65 20 66 69 72 73 74 20 | 6f 6e 6c 69 6e 65 20 fd |e first |online .|
|00001630| 00 1f 73 65 72 76 69 63 | 65 20 74 6f 20 6f 66 66 |..servic|e to off|
|00001640| 65 72 20 61 63 63 65 73 | 73 20 61 74 20 74 68 65 |er acces|s at the|
|00001650| 00 00 04 13 00 09 00 0b | 31 34 2e 34 20 73 70 65 |........|14.4 spe|
|00001660| 65 64 2e 00 00 00 04 1f | 00 24 00 4f 54 68 65 20 |ed......|.$.OThe |
|00001670| 31 34 2e 34 20 73 65 72 | 76 69 63 65 20 69 73 20 |14.4 ser|vice is |
|00001680| 69 6e 69 74 69 61 6c 6c | 79 20 61 76 61 69 6c 61 |initiall|y availa|
|00001690| 62 6c 65 20 69 6e 20 43 | 61 6d 62 72 69 64 67 65 |ble in C|ambridge|
|000016a0| 2c 20 4d 61 73 73 2e 2c | 20 43 68 69 63 61 67 6f |, Mass.,| Chicago|
|000016b0| 2c 20 43 6f 6c 75 6d 62 | 75 73 2c 00 00 00 04 2b |, Columb|us,....+|
|000016c0| 00 09 00 56 4c 6f 73 20 | 41 6e 67 65 6c 65 73 2c |...VLos |Angeles,|
|000016d0| 20 4e 65 77 20 59 6f 72 | 6b 2c 20 4e 65 77 70 6f | New Yor|k, Newpo|
|000016e0| 72 74 20 42 65 61 63 68 | 2c 20 43 61 6c 2e 2c 20 |rt Beach|, Cal., |
|000016f0| 4f 72 6c 61 6e 64 6f 2c | 20 50 68 69 6c 61 64 65 |Orlando,| Philade|
|00001700| 6c 70 68 69 61 2c 20 52 | 6f 63 68 65 6c 6c 65 20 |lphia, R|ochelle |
|00001710| 50 61 72 6b 2c 20 4e 2e | 4a 2e 00 00 04 37 00 09 |Park, N.|J....7..|
|00001720| 00 4e 61 6e 64 20 53 61 | 6e 74 61 20 43 6c 61 72 |.Nand Sa|nta Clar|
|00001730| 61 2c 20 43 61 6c 2e 20 | 20 4d 6f 72 65 20 55 2e |a, Cal. | More U.|
|00001740| 53 2e 20 63 69 74 69 65 | 73 20 77 69 6c 6c 20 62 |S. citie|s will b|
|00001750| 65 20 61 64 64 65 64 20 | 64 75 72 69 6e 67 20 74 |e added |during t|
|00001760| 68 65 20 63 6f 6d 69 6e | 67 20 79 65 61 72 2e 20 |he comin|g year. |
|00001770| 00 00 04 43 00 09 00 53 | 43 6f 6d 70 75 53 65 72 |...C...S|CompuSer|
|00001780| 76 65 20 61 6c 73 6f 20 | 70 6c 61 6e 73 20 74 6f |ve also |plans to|
|00001790| 20 6f 66 66 65 72 20 74 | 68 65 20 73 65 72 76 69 | offer t|he servi|
|000017a0| 63 65 20 69 6e 20 45 75 | 72 6f 70 65 20 62 75 74 |ce in Eu|rope but|
|000017b0| 20 64 6f 65 73 20 6e 6f | 74 20 fe 00 0a 6c 79 20 | does no|t ...ly |
|000017c0| 68 61 76 65 20 61 20 64 | 61 74 65 00 00 00 04 4f |have a d|ate....O|
|000017d0| 00 09 00 21 66 6f 72 20 | 69 6e 74 65 72 6e 61 74 |...!for |internat|
|000017e0| 69 6f 6e 61 6c 20 69 6d | 70 6c 65 6d 65 6e 74 61 |ional im|plementa|
|000017f0| 74 69 6f 6e 2e 00 00 00 | 04 5b 00 24 00 47 54 68 |tion....|.[.$.GTh|
|00001800| 65 20 62 65 6e 65 66 69 | 74 73 20 6f 66 20 31 34 |e benefi|ts of 14|
|00001810| 2e 34 20 73 65 72 76 69 | 63 65 20 66 6f 72 20 43 |.4 servi|ce for C|
|00001820| 6f 6d 70 75 53 65 72 76 | 65 20 6d 65 6d 62 65 72 |ompuServ|e member|
|00001830| 73 20 69 6e 63 6c 75 64 | 65 20 66 61 73 74 65 72 |s includ|e faster|
|00001840| 20 66 69 6c 65 00 00 00 | 04 67 00 09 00 50 74 72 | file...|.g...Ptr|
|00001850| 61 6e 73 66 65 72 73 20 | 61 6e 64 20 6d 6f 72 65 |ansfers |and more|
|00001860| 20 72 61 70 69 64 20 6f | 6e 6c 69 6e 65 20 64 69 | rapid o|nline di|
|00001870| 73 70 6c 61 79 20 6f 66 | 20 47 72 61 70 68 69 63 |splay of| Graphic|
|00001880| 73 20 49 6e 74 65 72 63 | 68 61 6e 67 65 20 46 6f |s Interc|hange Fo|
|00001890| 72 6d 61 74 20 20 28 47 | 49 46 20 54 4d 29 00 00 |rmat (G|IF TM)..|
|000018a0| 04 73 00 09 00 45 69 6d | 61 67 65 73 2c 20 fd 00 |.s...Eim|ages, ..|
|000018b0| 27 69 6e 20 6c 6f 77 65 | 72 20 63 6f 6e 6e 65 63 |'in lowe|r connec|
|000018c0| 74 2d 74 69 6d 65 20 63 | 68 61 72 67 65 73 2e 20 |t-time c|harges. |
|000018d0| 20 47 49 46 20 69 73 20 | 61 20 66 6f 72 6d 61 74 | GIF is |a format|
|000018e0| 20 43 6f 6d 70 75 53 65 | 72 76 65 00 00 00 04 7f | CompuSe|rve.....|
|000018f0| 00 09 00 55 64 65 76 65 | 6c 6f 70 65 64 20 66 6f |...Udeve|loped fo|
|00001900| 72 20 73 74 6f 72 69 6e | 67 20 67 72 61 70 68 69 |r storin|g graphi|
|00001910| 63 73 2e 20 20 49 74 20 | 61 6c 6c 6f 77 73 20 43 |cs. It |allows C|
|00001920| 6f 6d 70 75 53 65 72 76 | 65 20 6d 65 6d 62 65 72 |ompuServ|e member|
|00001930| 73 20 74 6f 20 76 69 65 | 77 20 61 6e 20 69 6d 61 |s to vie|w an ima|
|00001940| 67 65 20 6f 6e 6c 69 6e | 65 00 00 00 04 8b 00 09 |ge onlin|e.......|
|00001950| 00 4d 6f 72 20 64 6f 77 | 6e 6c 6f 61 64 20 74 68 |.Mor dow|nload th|
|00001960| 65 20 66 69 6c 65 20 66 | 6f 72 20 6c 61 74 65 72 |e file f|or later|
|00001970| 20 76 69 65 77 69 6e 67 | 2e 20 20 54 68 65 20 31 | viewing|. The 1|
|00001980| 34 2e 34 20 73 65 72 76 | 69 63 65 20 73 75 70 70 |4.4 serv|ice supp|
|00001990| 6f 72 74 73 20 56 2e 34 | 32 20 65 72 72 6f 72 00 |orts V.4|2 error.|
|000019a0| 00 00 04 97 00 09 00 51 | 63 6f 72 72 65 63 74 69 |.......Q|correcti|
|000019b0| 6f 6e 20 61 6e 64 20 72 | 65 71 75 69 72 65 73 20 |on and r|equires |
|000019c0| 74 68 61 74 20 74 68 65 | 20 6d 65 6d 62 65 72 20 |that the| member |
|000019d0| 68 61 76 65 20 61 20 56 | 2e 33 32 62 69 73 20 6d |have a V|.32bis m|
|000019e0| 6f 64 65 6d 2e 20 20 43 | 6f 6d 70 75 53 65 72 76 |odem. C|ompuServ|
|000019f0| 65 20 6d 65 6d 62 65 72 | 73 00 00 00 04 a3 00 09 |e member|s.......|
|00001a00| 00 56 69 6e 20 74 68 65 | 20 63 69 74 69 65 73 20 |.Vin the| cities |
|00001a10| 6c 69 73 74 65 64 20 61 | 62 6f 76 65 20 63 61 6e |listed a|bove can|
|00001a20| 20 66 69 6e 64 20 74 68 | 65 69 72 20 6c 6f 63 61 | find th|eir loca|
|00001a30| 6c 20 70 68 6f 6e 65 20 | 6e 75 6d 62 65 72 20 66 |l phone |number f|
|00001a40| 6f 72 20 31 34 2e 34 20 | 61 63 63 65 73 73 20 62 |or 14.4 |access b|
|00001a50| 79 20 74 79 70 69 6e 67 | 00 00 04 af 00 09 00 0c |y typing|........|
|00001a60| 22 47 4f 20 50 48 4f 4e | 45 53 2e 22 00 00 04 bb |"GO PHON|ES."....|
|00001a70| 00 24 00 48 43 6f 6d 70 | 75 53 65 72 76 65 20 6d |.$.HComp|uServe m|
|00001a80| 65 6d 62 65 72 73 20 70 | 61 79 20 24 38 2e 39 35 |embers p|ay $8.95|
|00001a90| 20 70 65 72 20 6d 6f 6e | 74 68 20 66 6f 72 20 75 | per mon|th for u|
|00001aa0| 6e 6c 69 6d 69 74 65 64 | 20 63 6f 6e 6e 65 63 74 |nlimited| connect|
|00001ab0| 2d 74 69 6d 65 20 61 63 | 63 65 73 73 00 00 04 c7 |-time ac|cess....|
|00001ac0| 00 09 00 51 74 6f 20 34 | 37 20 62 61 73 69 63 20 |...Qto 4|7 basic |
|00001ad0| 73 65 72 76 69 63 65 73 | 2e 20 20 43 6f 6d 70 75 |services|. Compu|
|00001ae0| 53 65 72 76 65 27 73 20 | 65 78 74 65 6e 64 65 64 |Serve's |extended|
|00001af0| 20 73 65 72 76 69 63 65 | 73 20 61 72 65 20 61 76 | service|s are av|
|00001b00| 61 69 6c 61 62 6c 65 20 | 66 6f 72 20 24 38 2e 30 |ailable |for $8.0|
|00001b10| 30 20 70 65 72 00 00 00 | 04 d3 00 09 00 53 68 6f |0 per...|.....Sho|
|00001b20| 75 72 20 66 6f 72 20 31 | 32 30 30 20 6f 72 20 32 |ur for 1|200 or 2|
|00001b30| 34 30 30 20 62 70 73 20 | 61 63 63 65 73 73 20 61 |400 bps |access a|
|00001b40| 6e 64 20 24 31 36 20 70 | 65 72 20 68 6f 75 72 20 |nd $16 p|er hour |
|00001b50| 66 6f 72 20 39 2e 36 20 | 6b 62 70 73 20 6f 72 20 |for 9.6 |kbps or |
|00001b60| 31 34 2e 34 20 6b 62 70 | 73 20 61 63 63 65 73 73 |14.4 kbp|s access|
|00001b70| 2e 00 00 00 04 df 00 24 | 00 43 46 6f 72 20 6d 6f |.......$|.CFor mo|
|00001b80| 72 65 20 fe 00 1f 2c 20 | 63 6f 6e 74 61 63 74 20 |re ..., |contact |
|00001b90| 43 6f 6d 70 75 53 65 72 | 76 65 2c 20 35 30 30 30 |CompuSer|ve, 5000|
|00001ba0| 20 41 72 6c 69 6e 67 74 | 6f 6e 20 43 65 6e 74 72 | Arlingt|on Centr|
|00001bb0| 65 20 42 6c 76 64 2e 2c | 20 50 2e 4f 2e 00 00 00 |e Blvd.,| P.O....|
|00001bc0| 04 eb 00 09 00 4a 42 6f | 78 20 32 30 32 31 32 2c |.....JBo|x 20212,|
|00001bd0| 20 43 6f 6c 75 6d 62 75 | 73 2c 20 4f 48 20 34 33 | Columbu|s, OH 43|
|00001be0| 32 32 30 2c 20 56 6f 69 | 63 65 3a 20 36 31 34 2f |220, Voi|ce: 614/|
|00001bf0| 34 35 37 2d 38 36 30 30 | 2c 20 43 6f 6d 70 75 53 |457-8600|, CompuS|
|00001c00| 65 72 76 65 3a 20 37 30 | 30 30 34 2c 33 33 36 2e |erve: 70|004,336.|
|00001c10| 00 00 04 f7 00 24 00 49 | 5b 52 65 6d 65 6d 62 65 |.....$.I|[Remembe|
|00001c20| 72 2c 20 74 68 65 20 72 | 65 6c 65 76 61 6e 74 20 |r, the r|elevant |
|00001c30| 73 6f 75 72 63 65 20 63 | 6f 64 65 20 fd 00 1a 74 |source c|ode ...t|
|00001c40| 68 61 74 20 61 63 63 6f | 6d 70 61 6e 79 20 61 72 |hat acco|mpany ar|
|00001c50| 74 69 63 6c 65 73 20 69 | 6e 20 4d 61 63 54 65 63 |ticles i|n MacTec|
|00001c60| 68 00 00 00 05 03 00 09 | 00 54 4d 61 67 61 7a 69 |h.......|.TMagazi|
|00001c70| 6e 65 20 61 72 65 20 61 | 76 61 69 6c 61 62 6c 65 |ne are a|vailable|
|00001c80| 20 6f 6e 20 43 6f 6d 70 | 75 53 65 72 76 65 2e 20 | on Comp|uServe. |
|00001c90| 54 6f 20 73 65 65 20 6f | 75 72 20 6f 6e 6c 69 6e |To see o|ur onlin|
|00001ca0| 65 20 61 72 65 61 2c 20 | 74 79 70 65 20 ff d2 47 |e area, |type ..G|
|00001cb0| 4f 4d 41 43 54 45 43 48 | 4d 41 47 ff d3 2e 00 00 |OMACTECH|MAG.....|
|00001cc0| 05 0f 00 09 00 06 2d 20 | 45 64 2e 5d 00 00 05 25 |......- |Ed.]...%|
|00001cd0| 00 86 00 1e c2 c2 41 74 | 74 6e 3a 20 34 44 61 6e |......At|tn: 4Dan|
|00001ce0| 64 20 48 79 70 65 72 43 | 61 72 64 20 75 73 65 72 |d HyperC|ard user|
|00001cf0| 73 21 00 00 05 36 00 24 | 00 4b 63 6f 6d 6d 73 74 |s!...6.$|.Kcommst|
|00001d00| 61 6c 6b 20 66 6f 72 20 | 48 79 70 65 72 43 61 72 |alk for |HyperCar|
|00001d10| 64 20 28 63 6f 6d 6d 73 | 74 61 6c 6b 2d 68 63 29 |d (comms|talk-hc)|
|00001d20| 20 61 6c 6c 6f 77 73 20 | 64 65 76 65 6c 6f 70 65 | allows |develope|
|00001d30| 72 73 20 74 6f 20 66 75 | 6c 6c 79 20 69 6e 74 65 |rs to fu|lly inte|
|00001d40| 67 72 61 74 65 00 00 00 | 05 42 00 09 00 53 74 65 |grate...|.B...Ste|
|00001d50| 72 6d 69 6e 61 6c 20 63 | 6f 6d 6d 75 6e 69 63 61 |rminal c|ommunica|
|00001d60| 74 69 6f 6e 73 20 73 65 | 73 73 69 6f 6e 73 20 77 |tions se|ssions w|
|00001d70| 69 74 68 69 6e 20 61 20 | 48 79 70 65 72 43 61 72 |ithin a |HyperCar|
|00001d80| 64 20 73 74 61 63 6b 2c | 20 62 72 69 6e 67 69 6e |d stack,| bringin|
|00001d90| 67 20 74 68 65 20 62 65 | 6e 65 66 69 74 73 20 6f |g the be|nefits o|
|00001da0| 66 00 00 00 05 4e 00 09 | 00 4c 63 6c 69 65 6e 74 |f....N..|.Lclient|
|00001db0| 2d 73 65 72 76 65 72 20 | 63 6f 6d 70 75 74 69 6e |-server |computin|
|00001dc0| 67 20 74 6f 20 6f 6c 64 | 65 72 2c 20 6e 6f 6e 2d |g to old|er, non-|
|00001dd0| 53 51 4c 2d 62 61 73 65 | 64 20 68 6f 73 74 20 fe |SQL-base|d host .|
|00001de0| 00 02 73 2e 20 20 42 79 | 20 72 65 65 6e 67 69 6e |..s. By| reengin|
|00001df0| 65 65 72 69 6e 67 00 00 | 05 5a 00 09 00 4f 68 6f |eering..|.Z...Oho|
|00001e00| 73 74 20 fe 00 2c 73 20 | 77 69 74 68 20 69 6d 70 |st ..,s |with imp|
|00001e10| 72 6f 76 65 64 20 48 79 | 70 65 72 43 61 72 64 2d |roved Hy|perCard-|
|00001e20| 62 61 73 65 64 20 67 72 | 61 70 68 69 63 61 6c 20 |based gr|aphical |
|00001e30| 69 6e 74 65 72 66 61 63 | 65 73 2c 20 6f 72 67 61 |interfac|es, orga|
|00001e40| 6e 69 7a 61 74 69 6f 6e | 73 20 63 61 6e 00 00 00 |nization|s can...|
|00001e50| 05 66 00 09 00 4e 70 72 | 65 73 65 72 76 65 20 74 |.f...Npr|eserve t|
|00001e60| 68 65 69 72 20 69 6e 76 | 65 73 74 6d 65 6e 74 73 |heir inv|estments|
|00001e70| 20 69 6e 20 61 67 69 6e | 67 20 fe 00 02 73 20 61 | in agin|g ...s a|
|00001e80| 6e 64 20 65 78 74 65 6e | 64 20 74 68 65 69 72 20 |nd exten|d their |
|00001e90| 75 73 65 66 75 6c 20 6c | 69 66 65 2c 20 77 69 74 |useful l|ife, wit|
|00001ea0| 68 6f 75 74 00 00 05 72 | 00 09 00 40 64 69 73 72 |hout...r|...@disr|
|00001eb0| 75 70 74 69 6f 6e 2e 20 | 20 fc 00 02 73 20 64 65 |uption. | ...s de|
|00001ec0| 76 65 6c 6f 70 65 64 20 | 77 69 74 68 20 63 6f 6d |veloped |with com|
|00001ed0| 6d 73 74 61 6c 6b 2d 68 | 63 20 63 61 6e 20 73 69 |mstalk-h|c can si|
|00001ee0| 6d 75 6c 74 61 6e 65 6f | 75 73 6c 79 00 00 05 7e |multaneo|usly...~|
|00001ef0| 00 09 00 48 63 6f 6d 6d | 75 6e 69 63 61 74 65 20 |...Hcomm|unicate |
|00001f00| 77 69 74 68 20 6d 75 6c | 74 69 70 6c 65 20 68 6f |with mul|tiple ho|
|00001f10| 73 74 20 fe 00 2c 73 20 | 75 74 69 6c 69 7a 69 6e |st ..,s |utilizin|
|00001f20| 67 20 73 74 61 6e 64 61 | 72 64 20 fb 00 03 43 6f |g standa|rd ...Co|
|00001f30| 6d 6d 75 6e 69 63 61 74 | 69 6f 6e 73 00 00 05 8a |mmunicat|ions....|
|00001f40| 00 09 00 4a 54 6f 6f 6c | 62 6f 78 20 28 43 54 42 |...JTool|box (CTB|
|00001f50| 29 20 74 6f 6f 6c 73 2e | 20 20 43 6f 6e 6e 65 63 |) tools.| Connec|
|00001f60| 74 69 76 69 74 79 20 6f | 70 74 69 6f 6e 73 20 65 |tivity o|ptions e|
|00001f70| 78 69 73 74 20 66 6f 72 | 20 49 42 4d 20 28 35 32 |xist for| IBM (52|
|00001f80| 35 30 2c 20 33 32 37 30 | 29 2c 20 44 45 43 00 00 |50, 3270|), DEC..|
|00001f90| 05 96 00 09 00 4f 28 56 | 54 2d 31 30 30 2c 20 56 |.....O(V|T-100, V|
|00001fa0| 54 2d 33 32 30 2c 20 56 | 54 2d 34 32 30 29 20 61 |T-320, V|T-420) a|
|00001fb0| 6e 64 20 55 6e 69 78 20 | 28 54 43 50 2f 49 50 2c |nd Unix |(TCP/IP,|
|00001fc0| 20 54 65 6c 6e 65 74 2c | 20 46 54 50 29 20 61 73 | Telnet,| FTP) as|
|00001fd0| 20 77 65 6c 6c 20 61 73 | 20 61 20 76 61 72 69 65 | well as| a varie|
|00001fe0| 74 79 20 6f 66 00 00 00 | 05 a2 00 09 00 55 73 74 |ty of...|.....Ust|
|00001ff0| 61 6e 64 61 72 64 20 61 | 73 79 6e 63 2e 20 66 69 |andard a|sync. fi|
|00002000| 6c 65 20 74 72 61 6e 73 | 66 65 72 20 70 72 6f 74 |le trans|fer prot|
|00002010| 6f 63 6f 6c 73 20 28 58 | 2f 59 2f 5a 4d 6f 64 65 |ocols (X|/Y/ZMode|
|00002020| 6d 2c 20 4b 65 72 6d 69 | 74 2c 20 54 65 78 74 29 |m, Kermi|t, Text)|
|00002030| 2e 20 20 48 6f 73 74 20 | 64 61 74 61 20 63 61 6e |. Host |data can|
|00002040| 20 62 65 00 00 00 05 ae | 00 09 00 4f 66 75 6c 6c | be.....|...Ofull|
|00002050| 79 20 69 6e 74 65 67 72 | 61 74 65 64 20 77 69 74 |y integr|ated wit|
|00002060| 68 20 6c 6f 63 61 6c 6c | 79 20 68 65 6c 64 20 73 |h locall|y held s|
|00002070| 74 61 63 6b 20 64 61 74 | 61 20 74 6f 20 70 72 6f |tack dat|a to pro|
|00002080| 76 69 64 65 20 63 6f 6d | 70 6c 65 74 65 6c 79 20 |vide com|pletely |
|00002090| 69 6e 74 65 67 72 61 74 | 65 64 2c 00 00 00 05 ba |integrat|ed,.....|
|000020a0| 00 09 00 4a 63 6f 6f 70 | 65 72 61 74 69 76 65 20 |...Jcoop|erative |
|000020b0| fe 00 02 73 2e 20 20 44 | 65 76 65 6c 6f 70 65 72 |...s. D|eveloper|
|000020c0| 73 20 75 73 69 6e 67 20 | 63 6f 6d 6d 73 74 61 6c |s using |commstal|
|000020d0| 6b 2d 68 63 20 62 65 6e | 65 66 69 74 20 66 72 6f |k-hc ben|efit fro|
|000020e0| 6d 20 64 72 61 6d 61 74 | 69 63 61 6c 6c 79 00 00 |m dramat|ically..|
|000020f0| 05 c6 00 09 00 4d 72 65 | 64 75 63 65 64 20 64 65 |.....Mre|duced de|
|00002100| 76 65 6c 6f 70 6d 65 6e | 74 20 74 69 6d 65 2c 20 |velopmen|t time, |
|00002110| 65 61 73 79 20 6d 61 69 | 6e 74 65 6e 61 6e 63 65 |easy mai|ntenance|
|00002120| 20 6f 66 20 fe 00 02 73 | 20 61 6e 64 20 72 65 64 | of ...s| and red|
|00002130| 75 63 65 64 20 68 6f 73 | 74 20 6c 6f 61 64 69 6e |uced hos|t loadin|
|00002140| 67 2e 20 00 00 00 05 d2 | 00 09 00 41 54 68 65 20 |g. .....|...AThe |
|00002150| 64 65 76 65 6c 6f 70 65 | 72 20 6b 69 74 20 72 65 |develope|r kit re|
|00002160| 74 61 69 6c 73 20 66 6f | 72 20 24 32 39 35 2c 20 |tails fo|r $295, |
|00002170| 72 75 6e 2d 74 69 6d 65 | 20 6b 69 74 73 20 72 65 |run-time| kits re|
|00002180| 74 61 69 6c 20 66 6f 72 | 20 24 39 35 2e 00 00 00 |tail for| $95....|
|00002190| 05 de 00 24 00 45 54 68 | 65 20 34 44 20 43 6f 6d |...$.ETh|e 4D Com|
|000021a0| 6d 75 6e 69 63 61 74 69 | 6f 6e 73 20 4b 69 74 20 |municati|ons Kit |
|000021b0| 28 34 44 43 4b 29 20 62 | 72 69 6e 67 73 20 74 68 |(4DCK) b|rings th|
|000021c0| 65 20 62 65 6e 65 66 69 | 74 73 20 6f 66 20 63 6c |e benefi|ts of cl|
|000021d0| 69 65 6e 74 2d 73 65 72 | 76 65 72 00 00 00 05 ea |ient-ser|ver.....|
|000021e0| 00 09 00 49 63 6f 6d 70 | 75 74 69 6e 67 20 74 6f |...Icomp|uting to|
|000021f0| 20 6f 6c 64 65 72 2c 20 | 6e 6f 6e 2d 53 51 4c 2d | older, |non-SQL-|
|00002200| 62 61 73 65 64 20 68 6f | 73 74 20 fe 00 02 73 20 |based ho|st ...s |
|00002210| 62 79 20 66 72 6f 6e 74 | 2d 65 6e 64 69 6e 67 20 |by front|-ending |
|00002220| 74 68 65 6d 20 77 69 74 | 68 20 34 74 68 00 00 00 |them wit|h 4th...|
|00002230| 05 f6 00 09 00 47 44 69 | 6d 65 6e 73 69 6f 6e 2d |.....GDi|mension-|
|00002240| 62 61 73 65 64 20 fe 00 | 02 73 2e 20 20 57 69 74 |based ..|.s. Wit|
|00002250| 68 20 20 34 44 43 4b 2c | 20 64 65 76 65 6c 6f 70 |h 4DCK,| develop|
|00002260| 65 72 73 20 63 61 6e 20 | 63 6f 6d 70 6c 65 74 65 |ers can |complete|
|00002270| 6c 79 20 6d 65 72 67 65 | 20 68 6f 73 74 00 00 00 |ly merge| host...|
|00002280| 06 02 00 09 00 44 73 65 | 73 73 69 6f 6e 73 20 69 |.....Dse|ssions i|
|00002290| 6e 74 6f 20 34 44 20 fe | 00 02 73 2c 20 61 6c 6c |nto 4D .|..s, all|
|000022a0| 6f 77 69 6e 67 20 64 61 | 74 61 62 61 73 65 20 69 |owing da|tabase i|
|000022b0| 6e 74 65 67 72 61 74 69 | 6f 6e 20 61 6e 64 20 63 |ntegrati|on and c|
|000022c0| 72 65 61 74 69 6f 6e 20 | 6f 66 00 00 06 0e 00 09 |reation |of......|
|000022d0| 00 55 75 73 65 72 2d 66 | 72 69 65 6e 64 6c 79 20 |.Uuser-f|riendly |
|000022e0| 47 55 49 73 2c 20 65 6c | 69 6d 69 6e 61 74 69 6e |GUIs, el|iminatin|
|000022f0| 67 20 74 68 65 20 6e 65 | 65 64 20 66 6f 72 20 73 |g the ne|ed for s|
|00002300| 74 61 6e 64 2d 61 6c 6f | 6e 65 20 74 65 72 6d 69 |tand-alo|ne termi|
|00002310| 6e 61 6c 20 65 6d 75 6c | 61 74 69 6f 6e 20 70 72 |nal emul|ation pr|
|00002320| 6f 67 72 61 6d 73 2e 00 | 00 00 06 1a 00 09 00 4a |ograms..|.......J|
|00002330| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 73 20 63 61 |Organiza|tions ca|
|00002340| 6e 20 70 72 65 73 65 72 | 76 65 20 74 68 65 69 72 |n preser|ve their|
|00002350| 20 69 6e 76 65 73 74 6d | 65 6e 74 73 20 69 6e 20 | investm|ents in |
|00002360| 61 67 69 6e 67 20 68 6f | 73 74 20 fe 00 02 73 20 |aging ho|st ...s |
|00002370| 61 6e 64 20 65 78 74 65 | 6e 64 00 00 06 26 00 09 |and exte|nd...&..|
|00002380| 00 44 74 68 65 69 72 20 | 75 73 65 66 75 6c 20 6c |.Dtheir |useful l|
|00002390| 69 66 65 2c 20 77 69 74 | 68 6f 75 74 20 64 69 73 |ife, wit|hout dis|
|000023a0| 72 75 70 74 69 6f 6e 2e | 20 20 fc 00 02 73 20 64 |ruption.| ...s d|
|000023b0| 65 76 65 6c 6f 70 65 64 | 20 77 69 74 68 20 34 44 |eveloped| with 4D|
|000023c0| 43 4b 20 63 61 6e 00 00 | 06 32 00 09 00 48 63 6f |CK can..|.2...Hco|
|000023d0| 6d 6d 75 6e 69 63 61 74 | 65 20 77 69 74 68 20 6d |mmunicat|e with m|
|000023e0| 75 6c 74 69 70 6c 65 20 | 68 6f 73 74 20 fe 00 2c |ultiple |host ..,|
|000023f0| 73 20 75 74 69 6c 69 7a | 69 6e 67 20 73 74 61 6e |s utiliz|ing stan|
|00002400| 64 61 72 64 20 fb 00 03 | 43 6f 6d 6d 75 6e 69 63 |dard ...|Communic|
|00002410| 61 74 69 6f 6e 73 00 00 | 06 3e 00 09 00 4a 54 6f |ations..|.>...JTo|
|00002420| 6f 6c 62 6f 78 20 28 43 | 54 42 29 20 74 6f 6f 6c |olbox (C|TB) tool|
|00002430| 73 2e 20 20 43 6f 6e 6e | 65 63 74 69 76 69 74 79 |s. Conn|ectivity|
|00002440| 20 6f 70 74 69 6f 6e 73 | 20 65 78 69 73 74 20 66 | options| exist f|
|00002450| 6f 72 20 49 42 4d 20 28 | 35 32 35 30 2c 20 33 32 |or IBM (|5250, 32|
|00002460| 37 30 29 2c 20 44 45 43 | 00 00 06 4a 00 09 00 4f |70), DEC|...J...O|
|00002470| 28 56 54 2d 31 30 30 2c | 20 56 54 2d 33 32 30 2c |(VT-100,| VT-320,|
|00002480| 20 56 54 2d 34 32 30 29 | 20 61 6e 64 20 55 6e 69 | VT-420)| and Uni|
|00002490| 78 20 28 54 43 50 2f 49 | 50 2c 20 54 65 6c 6e 65 |x (TCP/I|P, Telne|
|000024a0| 74 2c 20 46 54 50 29 20 | 61 73 20 77 65 6c 6c 20 |t, FTP) |as well |
|000024b0| 61 73 20 61 20 76 61 72 | 69 65 74 79 20 6f 66 00 |as a var|iety of.|
|000024c0| 00 00 06 56 00 09 00 55 | 73 74 61 6e 64 61 72 64 |...V...U|standard|
|000024d0| 20 61 73 79 6e 63 2e 20 | 66 69 6c 65 20 74 72 61 | async. |file tra|
|000024e0| 6e 73 66 65 72 20 70 72 | 6f 74 6f 63 6f 6c 73 20 |nsfer pr|otocols |
|000024f0| 28 58 2f 59 2f 5a 4d 6f | 64 65 6d 2c 20 4b 65 72 |(X/Y/ZMo|dem, Ker|
|00002500| 6d 69 74 2c 20 54 65 78 | 74 29 2e 20 20 44 65 76 |mit, Tex|t). Dev|
|00002510| 65 6c 6f 70 65 72 73 20 | 75 73 69 6e 67 00 00 00 |elopers |using...|
|00002520| 06 62 00 09 00 4c 34 44 | 43 4b 20 62 65 6e 65 66 |.b...L4D|CK benef|
|00002530| 69 74 20 66 72 6f 6d 20 | 64 72 61 6d 61 74 69 63 |it from |dramatic|
|00002540| 61 6c 6c 79 20 72 65 64 | 75 63 65 64 20 64 65 76 |ally red|uced dev|
|00002550| 65 6c 6f 70 6d 65 6e 74 | 20 74 69 6d 65 2c 20 65 |elopment| time, e|
|00002560| 61 73 79 20 6d 61 69 6e | 74 65 6e 61 6e 63 65 20 |asy main|tenance |
|00002570| 6f 66 00 00 06 6e 00 09 | 00 4c fe 00 02 73 20 61 |of...n..|.L...s a|
|00002580| 6e 64 20 72 65 64 75 63 | 65 64 20 68 6f 73 74 20 |nd reduc|ed host |
|00002590| 6c 6f 61 64 69 6e 67 2e | 20 20 54 68 65 20 64 65 |loading.| The de|
|000025a0| 76 65 6c 6f 70 65 72 20 | 6b 69 74 20 72 65 74 61 |veloper |kit reta|
|000025b0| 69 6c 73 20 66 6f 72 20 | 24 32 39 35 2c 20 72 75 |ils for |$295, ru|
|000025c0| 6e 2d 74 69 6d 65 00 00 | 06 7a 00 09 00 14 6b 69 |n-time..|.z....ki|
|000025d0| 74 73 20 72 65 74 61 69 | 6c 20 66 6f 72 20 24 39 |ts retai|l for $9|
|000025e0| 35 2e 00 00 06 86 00 24 | 00 44 46 6f 72 20 6d 6f |5......$|.DFor mo|
|000025f0| 72 65 20 fe 00 1f 2c 20 | 63 6f 6e 74 61 63 74 20 |re ..., |contact |
|00002600| 46 75 6c 6c 20 4d 6f 6f | 6e 20 53 6f 66 74 77 61 |Full Moo|n Softwa|
|00002610| 72 65 2c 20 49 6e 63 2e | 2c 20 50 2e 4f 2e 20 42 |re, Inc.|, P.O. B|
|00002620| 6f 78 20 37 30 30 32 33 | 37 2c 20 53 61 6e 00 00 |ox 70023|7, San..|
|00002630| 06 92 00 09 00 3d 4a 6f | 73 65 2c 20 43 41 20 39 |.....=Jo|se, CA 9|
|00002640| 35 31 37 30 2d 30 32 33 | 37 2c 20 56 6f 69 63 65 |5170-023|7, Voice|
|00002650| 3a 20 34 30 38 2f 32 35 | 33 2d 37 31 39 39 20 2c |: 408/25|3-7199 ,|
|00002660| 20 46 61 78 3a 20 34 30 | 38 2f 32 35 32 2d 32 33 | Fax: 40|8/252-23|
|00002670| 37 38 2e 00 00 00 06 a8 | 00 8b 00 1b c2 c2 43 75 |78......|......Cu|
|00002680| 73 74 6f 6d 20 4e 65 77 | 74 6f 6e 20 44 65 76 65 |stom New|ton Deve|
|00002690| 6c 6f 70 6d 65 6e 74 00 | 00 00 06 b9 00 24 00 50 |lopment.|.....$.P|
|000026a0| 4e 65 77 74 6f 6e 69 61 | 6e 20 54 65 63 68 6e 6f |Newtonia|n Techno|
|000026b0| 6c 6f 67 69 65 73 2c 20 | 49 6e 63 2e 20 74 6f 64 |logies, |Inc. tod|
|000026c0| 61 79 20 61 6e 6e 6f 75 | 6e 63 65 64 20 74 68 65 |ay annou|nced the|
|000026d0| 20 61 76 61 69 6c 61 62 | 69 6c 69 74 79 20 6f 66 | availab|ility of|
|000026e0| 20 63 75 73 74 6f 6d 20 | 73 6f 66 74 77 61 72 65 | custom |software|
|000026f0| 00 00 06 c5 00 09 00 48 | 64 65 76 65 6c 6f 70 6d |.......H|developm|
|00002700| 65 6e 74 20 61 6e 64 20 | fe 00 2c 73 20 69 6e 74 |ent and |..,s int|
|00002710| 65 67 72 61 74 69 6f 6e | 20 73 65 72 76 69 63 65 |egration| service|
|00002720| 73 20 66 6f 72 20 fb 00 | 03 43 6f 6d 70 75 74 65 |s for ..|.Compute|
|00002730| 72 27 73 20 4e 65 77 74 | 6f 6e 2d 62 61 73 65 64 |r's Newt|on-based|
|00002740| 00 00 06 d1 00 09 00 1c | 50 65 72 73 6f 6e 61 6c |........|Personal|
|00002750| 20 44 69 67 69 74 61 6c | 20 41 73 73 69 73 74 61 | Digital| Assista|
|00002760| 6e 74 73 2e 00 00 06 dd | 00 24 00 48 4e 65 77 74 |nts.....|.$.HNewt|
|00002770| 6f 6e 69 61 6e 20 54 65 | 63 68 6e 6f 6c 6f 67 69 |onian Te|chnologi|
|00002780| 65 73 20 75 73 65 73 20 | 61 6e 20 61 6c 6c 2d 65 |es uses |an all-e|
|00002790| 6e 63 6f 6d 70 61 73 73 | 69 6e 67 20 54 6f 74 61 |ncompass|ing Tota|
|000027a0| 6c 20 51 75 61 6c 69 74 | 79 20 4d 61 6e 61 67 65 |l Qualit|y Manage|
|000027b0| 6d 65 6e 74 00 00 06 e9 | 00 09 00 54 61 70 70 72 |ment....|...Tappr|
|000027c0| 6f 61 63 68 20 74 6f 20 | 63 75 73 74 6f 6d 20 73 |oach to |custom s|
|000027d0| 6f 66 74 77 61 72 65 20 | 64 65 76 65 6c 6f 70 6d |oftware |developm|
|000027e0| 65 6e 74 20 73 65 72 76 | 69 63 65 73 2c 20 69 6e |ent serv|ices, in|
|000027f0| 63 6c 75 64 69 6e 67 20 | 61 6e 20 69 6e 69 74 69 |cluding |an initi|
|00002800| 61 6c 20 63 6f 6e 73 75 | 6c 74 61 74 69 6f 6e 2c |al consu|ltation,|
|00002810| 00 00 06 f5 00 09 00 47 | 70 65 72 73 6f 6e 61 6c |.......G|personal|
|00002820| 69 7a 65 64 20 70 72 6f | 6a 65 63 74 20 72 65 71 |ized pro|ject req|
|00002830| 75 69 72 65 6d 65 6e 74 | 73 20 63 61 70 74 75 72 |uirement|s captur|
|00002840| 65 2c 20 62 75 73 69 6e | 65 73 73 20 70 72 6f 70 |e, busin|ess prop|
|00002850| 6f 73 61 6c 20 61 73 20 | 77 65 6c 6c 20 61 73 00 |osal as |well as.|
|00002860| 00 00 07 01 00 09 00 48 | 64 6f 63 75 6d 65 6e 74 |.......H|document|
|00002870| 61 74 69 6f 6e 2c 20 74 | 72 61 69 6e 69 6e 67 2c |ation, t|raining,|
|00002880| 20 61 6e 64 20 6f 6e 2d | 67 6f 69 6e 67 20 73 75 | and on-|going su|
|00002890| 70 70 6f 72 74 20 66 6f | 72 20 74 68 65 20 fe 00 |pport fo|r the ..|
|000028a0| 2c 73 20 74 68 65 79 20 | 64 65 76 65 6c 6f 70 2e |,s they |develop.|
|000028b0| 00 00 07 0d 00 24 00 41 | 46 6f 72 20 6d 6f 72 65 |.....$.A|For more|
|000028c0| 20 fe 00 1f 2c 20 63 6f | 6e 74 61 63 74 20 4e 65 | ..., co|ntact Ne|
|000028d0| 77 74 6f 6e 69 61 6e 20 | 54 65 63 68 6e 6f 6c 6f |wtonian |Technolo|
|000028e0| 67 69 65 73 2c 20 49 6e | 63 2e 2c 20 35 31 20 55 |gies, In|c., 51 U|
|000028f0| 6e 69 76 65 72 73 69 74 | 79 00 00 00 07 19 00 09 |niversit|y.......|
|00002900| 00 4d 41 76 65 6e 75 65 | 2c 20 53 75 69 74 65 20 |.MAvenue|, Suite |
|00002910| 4a 2c 20 4c 6f 73 20 47 | 61 74 6f 73 2c 20 43 41 |J, Los G|atos, CA|
|00002920| 20 39 35 30 33 30 2c 20 | 56 6f 69 63 65 3a 20 34 | 95030, |Voice: 4|
|00002930| 30 38 2f 33 39 39 2d 38 | 38 30 30 2c 20 46 61 78 |08/399-8|800, Fax|
|00002940| 3a 20 34 30 38 2f 39 39 | 37 2d 32 30 38 38 2c 00 |: 408/99|7-2088,.|
|00002950| 00 00 07 25 00 09 00 11 | fc 00 03 4c 69 6e 6b 3a |...%....|...Link:|
|00002960| 20 4e 45 57 54 4f 4e 31 | 2e 00 44 52 00 02 ff ff | NEWTON1|..DR....|
|00002970| ff ff 00 00 00 09 43 2b | 2b 20 52 65 64 75 78 00 |......C+|+ Redux.|
|00002980| 02 ba 00 00 00 0c 00 09 | 00 0f c2 c2 fb 00 32 4e |........|......2N|
|00002990| 75 6d 62 65 72 3a 97 31 | 30 00 00 00 00 18 00 09 |umber:.1|0.......|
|000029a0| 00 11 c2 c2 49 73 73 75 | 65 20 4e 75 6d 62 65 72 |....Issu|e Number|
|000029b0| 3a a2 31 00 00 00 00 24 | 00 09 00 1d c2 c2 43 6f |:.1....$|......Co|
|000029c0| 6c 75 6d 6e 20 54 61 67 | 3a b0 47 65 74 74 69 6e |lumn Tag|:.Gettin|
|000029d0| 67 20 53 74 61 72 74 65 | 64 00 ff ff 80 3c 00 09 |g Starte|d....<..|
|000029e0| 00 21 c2 c2 52 65 6c 61 | 74 65 64 20 49 6e 66 6f |.!..Rela|ted Info|
|000029f0| 3a 20 20 c5 43 6f 6c 6f | 72 20 51 75 69 63 6b 64 |: .Colo|r Quickd|
|00002a00| 72 61 77 00 00 00 00 99 | 00 09 00 13 c3 c3 43 2b |raw.....|......C+|
|00002a10| 2b 20 52 65 64 75 78 80 | 01 08 f0 00 81 00 9f 00 |+ Redux.|........|
|00002a20| 00 00 00 ac 00 09 00 16 | c2 c2 52 65 68 61 73 68 |........|..Rehash|
|00002a30| 69 6e 67 20 74 68 65 20 | 62 61 73 69 63 73 00 00 |ing the |basics..|
|00002a40| 00 c0 00 09 00 3c c4 c4 | 42 79 20 44 61 76 65 20 |.....<..|By Dave |
|00002a50| 4d 61 72 6b 2c 20 4d 61 | 63 54 65 63 68 20 4d 61 |Mark, Ma|cTech Ma|
|00002a60| 67 61 7a 69 6e 65 20 52 | 65 67 75 6c 61 72 20 43 |gazine R|egular C|
|00002a70| 6f 6e 74 72 69 62 75 74 | 69 6e 67 20 41 75 74 68 |ontribut|ing Auth|
|00002a80| 6f 72 ff ff 80 e3 00 09 | 00 56 c4 c4 f0 00 82 00 |or......|.V......|
|00002a90| 12 20 4e 6f 74 65 3a 20 | 20 c6 53 6f 75 72 63 65 |. Note: | .Source|
|00002aa0| 20 63 6f 64 65 20 fe 00 | 1a c4 20 61 63 63 6f 6d | code ..|.. accom|
|00002ab0| 70 61 6e 79 69 6e 67 20 | 61 72 74 69 63 6c 65 20 |panying |article |
|00002ac0| 61 72 65 20 6c 6f 63 61 | 74 65 64 20 6f 6e 20 4d |are loca|ted on M|
|00002ad0| 61 63 54 65 63 68 20 43 | 44 2d 52 4f 4d 20 6f 72 |acTech C|D-ROM or|
|00002ae0| 00 00 00 ef 00 09 00 13 | c4 73 6f 75 72 63 65 20 |........|.source |
|00002af0| 63 6f 64 65 20 64 69 73 | 6b 73 2e 00 00 00 01 0a |code dis|ks......|
|00002b00| 00 24 00 50 42 61 63 6b | 20 69 6e 20 74 68 65 20 |.$.PBack| in the |
|00002b10| 4f 63 74 6f 62 65 72 20 | ff d4 39 33 20 47 65 74 |October |..93 Get|
|00002b20| 74 69 6e 67 20 53 74 61 | 72 74 65 64 20 63 6f 6c |ting Sta|rted col|
|00002b30| 75 6d 6e 2c 20 77 65 20 | 74 6f 6f 6b 20 61 20 6c |umn, we |took a l|
|00002b40| 6f 6f 6b 20 61 74 20 74 | 68 65 20 62 61 73 69 63 |ook at t|he basic|
|00002b50| 73 20 6f 66 00 00 01 16 | 00 09 00 4d 6f 62 6a 65 |s of....|...Mobje|
|00002b60| 63 74 20 70 72 6f 67 72 | 61 6d 6d 69 6e 67 20 75 |ct progr|amming u|
|00002b70| 73 69 6e 67 20 43 2b 2b | 2e 20 53 69 6e 63 65 20 |sing C++|. Since |
|00002b80| 74 68 65 20 63 6f 6c 75 | 6d 6e 20 63 61 6d 65 20 |the colu|mn came |
|00002b90| 6f 75 74 2c 20 49 ff d5 | 76 65 20 67 6f 74 74 65 |out, I..|ve gotte|
|00002ba0| 6e 20 74 6f 6e 73 20 6f | 66 00 00 00 01 22 00 09 |n tons o|f...."..|
|00002bb0| 00 50 66 65 65 64 62 61 | 63 6b 2c 20 66 72 6f 6d |.Pfeedba|ck, from|
|00002bc0| 20 62 6f 74 68 20 43 2b | 2b 20 6e 6f 76 69 63 65 | both C+|+ novice|
|00002bd0| 73 20 61 6e 64 20 65 78 | 70 65 72 74 73 20 61 6c |s and ex|perts al|
|00002be0| 69 6b 65 2e 20 41 66 74 | 65 72 20 73 6f 72 74 69 |ike. Aft|er sorti|
|00002bf0| 6e 67 20 74 68 72 6f 75 | 67 68 20 61 6c 6c 20 74 |ng throu|gh all t|
|00002c00| 68 65 00 00 01 2e 00 09 | 00 57 63 6f 6d 6d 65 6e |he......|.Wcommen|
|00002c10| 74 73 2c 20 49 20 74 6f | 6f 6b 20 61 20 66 65 77 |ts, I to|ok a few|
|00002c20| 20 64 61 79 73 20 61 6e | 64 20 64 69 64 20 61 20 | days an|d did a |
|00002c30| 63 6f 6d 70 6c 65 74 65 | 20 72 65 77 72 69 74 65 |complete| rewrite|
|00002c40| 20 6f 66 20 74 68 65 20 | 4f 63 74 6f 62 65 72 20 | of the |October |
|00002c50| 63 6f 6c 75 6d 6e 20 61 | 6e 64 20 6f 66 20 74 68 |column a|nd of th|
|00002c60| 65 00 00 00 01 3a 00 09 | 00 54 63 6f 72 72 65 73 |e....:..|.Tcorres|
|00002c70| 70 6f 6e 64 69 6e 67 20 | 63 68 61 70 74 65 72 20 |ponding |chapter |
|00002c80| 28 43 68 61 70 74 65 72 | 20 35 29 20 69 6e 20 4c |(Chapter| 5) in L|
|00002c90| 65 61 72 6e 20 43 2b 2b | 20 6f 6e 20 74 68 65 20 |earn C++| on the |
|00002ca0| 4d 61 63 69 6e 74 6f 73 | 68 2e 20 49 66 20 79 6f |Macintos|h. If yo|
|00002cb0| 75 ff d5 76 65 20 72 65 | 61 64 20 74 68 65 00 00 |u..ve re|ad the..|
|00002cc0| 01 46 00 09 00 53 66 69 | 72 73 74 20 70 72 69 6e |.F...Sfi|rst prin|
|00002cd0| 74 69 6e 67 20 6f 66 20 | 4c 65 61 72 6e 20 43 2b |ting of |Learn C+|
|00002ce0| 2b 20 6f 6e 20 74 68 65 | 20 4d 61 63 69 6e 74 6f |+ on the| Macinto|
|00002cf0| 73 68 20 28 74 68 65 20 | 63 68 61 6e 67 65 73 20 |sh (the |changes |
|00002d00| 77 69 6c 6c 20 61 70 70 | 65 61 72 20 69 6e 20 74 |will app|ear in t|
|00002d10| 68 65 20 73 65 63 6f 6e | 64 00 00 00 01 52 00 09 |he secon|d....R..|
|00002d20| 00 54 70 72 69 6e 74 69 | 6e 67 29 20 6f 72 20 6d |.Tprinti|ng) or m|
|00002d30| 61 64 65 20 79 6f 75 72 | 20 77 61 79 20 74 68 72 |ade your| way thr|
|00002d40| 6f 75 67 68 20 74 68 65 | 20 66 69 72 73 74 20 65 |ough the| first e|
|00002d50| 64 69 74 69 6f 6e 20 6f | 66 20 74 68 69 73 20 63 |dition o|f this c|
|00002d60| 6f 6c 75 6d 6e 2c 20 70 | 6c 65 61 73 65 20 74 61 |olumn, p|lease ta|
|00002d70| 6b 65 20 74 68 65 00 00 | 01 5e 00 09 00 56 74 69 |ke the..|.^...Vti|
|00002d80| 6d 65 20 74 6f 20 72 65 | 61 64 20 74 68 69 73 20 |me to re|ad this |
|00002d90| 6e 65 77 20 76 65 72 73 | 69 6f 6e 2e 20 41 73 20 |new vers|ion. As |
|00002da0| 61 20 62 6f 6e 75 73 2c | 20 74 68 69 73 20 6d 6f |a bonus,| this mo|
|00002db0| 6e 74 68 ff d5 73 20 63 | 6f 6c 75 6d 6e 20 69 6e |nth..s c|olumn in|
|00002dc0| 63 6c 75 64 65 73 20 61 | 20 43 2b 2b 20 70 72 6f |cludes a| C++ pro|
|00002dd0| 67 72 61 6d 00 00 01 6a | 00 09 00 52 74 68 61 74 |gram...j|...Rthat|
|00002de0| 20 64 65 6d 6f 6e 73 74 | 72 61 74 65 73 20 74 68 | demonst|rates th|
|00002df0| 65 20 74 65 63 68 6e 69 | 71 75 65 73 20 64 65 73 |e techni|ques des|
|00002e00| 63 72 69 62 65 64 20 74 | 68 72 6f 75 67 68 6f 75 |cribed t|hroughou|
|00002e10| 74 20 74 68 65 20 74 65 | 78 74 20 28 74 68 65 20 |t the te|xt (the |
|00002e20| 4f 63 74 6f 62 65 72 20 | 63 6f 6c 75 6d 6e 00 00 |October |column..|
|00002e30| 01 76 00 09 00 1b 64 69 | 64 6e ff d5 74 20 69 6e |.v....di|dn..t in|
|00002e40| 63 6c 75 64 65 20 61 20 | 70 72 6f 67 72 61 6d 29 |clude a |program)|
|00002e50| 2e 00 00 00 01 8c 00 c7 | 00 09 c2 c2 4f 62 6a 65 |........|....Obje|
|00002e60| 63 74 73 00 00 00 01 9d | 00 24 00 4d fb 00 2f 69 |cts.....|.$.M../i|
|00002e70| 73 20 6e 6f 74 68 69 6e | 67 20 6d 79 73 74 65 72 |s nothin|g myster|
|00002e80| 69 6f 75 73 20 61 62 6f | 75 74 20 74 68 65 20 63 |ious abo|ut the c|
|00002e90| 6f 6e 63 65 70 74 20 6f | 66 20 61 6e 20 6f 62 6a |oncept o|f an obj|
|00002ea0| 65 63 74 2e 20 49 6e 20 | 43 2b 2b 2c 20 61 6e 20 |ect. In |C++, an |
|00002eb0| 6f 62 6a 65 63 74 20 69 | 73 00 00 00 01 a9 00 09 |object i|s.......|
|00002ec0| 00 3c 61 6e 79 20 69 6e | 73 74 61 6e 63 65 20 6f |.<any in|stance o|
|00002ed0| 66 20 61 20 64 61 74 61 | 20 74 79 70 65 2e 20 46 |f a data| type. F|
|00002ee0| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 74 68 69 73 |or examp|le, this|
|00002ef0| 20 6c 69 6e 65 20 6f 66 | 20 63 6f 64 65 3a 00 00 | line of| code:..|
|00002f00| 01 b4 00 12 00 01 c7 00 | 00 00 01 bf 00 12 00 0c |........|........|
|00002f10| c7 c7 69 6e 74 92 6d 79 | 49 6e 74 3b 00 00 01 ca |..int.my|Int;....|
|00002f20| 00 12 00 01 c7 00 00 00 | 01 d6 00 24 00 49 64 65 |........|...$.Ide|
|00002f30| 63 6c 61 72 65 73 20 61 | 6e 20 69 6e 74 20 6f 62 |clares a|n int ob|
|00002f40| 6a 65 63 74 2e 20 54 68 | 69 73 20 63 6f 6c 75 6d |ject. Th|is colum|
|00002f50| 6e 20 77 69 6c 6c 20 74 | 65 61 63 68 20 79 6f 75 |n will t|each you|
|00002f60| 20 68 6f 77 20 74 6f 20 | 75 73 65 20 43 2b 2b 20 | how to |use C++ |
|00002f70| 74 6f 20 fe 00 0c 2c 00 | 00 00 01 e2 00 09 00 35 |to ...,.|.......5|
|00002f80| 64 65 73 74 72 6f 79 20 | 61 6e 64 20 6d 61 6e 69 |destroy |and mani|
|00002f90| 70 75 6c 61 74 65 20 6f | 62 6a 65 63 74 73 20 69 |pulate o|bjects i|
|00002fa0| 6e 20 76 65 72 79 20 70 | 6f 77 65 72 66 75 6c 20 |n very p|owerful |
|00002fb0| 77 61 79 73 2e 00 00 00 | 01 ee 00 24 00 38 54 68 |ways....|...$.8Th|
|00002fc0| 65 20 66 69 72 73 74 20 | 6f 62 6a 65 63 74 20 77 |e first |object w|
|00002fd0| 65 ff d5 6c 6c 20 74 61 | 6b 65 20 61 20 6c 6f 6f |e..ll ta|ke a loo|
|00002fe0| 6b 20 61 74 20 69 73 20 | 74 68 65 20 73 74 72 75 |k at is |the stru|
|00002ff0| 63 74 75 72 65 2e 00 00 | 02 04 00 6b 00 28 c2 c2 |cture...|...k.(..|
|00003000| 54 68 65 20 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |The Orga|nization|
|00003010| 61 6c 20 50 6f 77 65 72 | 20 6f 66 20 74 68 65 20 |al Power| of the |
|00003020| 53 74 72 75 63 74 00 00 | 02 15 00 24 00 4f 4f 6e |Struct..|...$.OOn|
|00003030| 65 20 6f 66 20 74 68 65 | 20 6d 6f 73 74 20 76 61 |e of the| most va|
|00003040| 6c 75 61 62 6c 65 20 66 | 65 61 74 75 72 65 73 20 |luable f|eatures |
|00003050| 73 68 61 72 65 64 20 62 | 79 20 43 20 61 6e 64 20 |shared b|y C and |
|00003060| 43 2b 2b 20 69 73 20 74 | 68 65 20 73 74 72 75 63 |C++ is t|he struc|
|00003070| 74 75 72 65 2e 20 57 69 | 74 68 6f 75 74 00 00 00 |ture. Wi|thout...|
|00003080| 02 21 00 09 00 54 74 68 | 65 20 73 74 72 75 63 74 |.!...Tth|e struct|
|00003090| 75 72 65 2c 20 79 6f 75 | ff d5 64 20 68 61 76 65 |ure, you|..d have|
|000030a0| 20 6e 6f 20 77 61 79 20 | 74 6f 20 67 72 6f 75 70 | no way |to group|
|000030b0| 20 64 61 74 61 20 74 68 | 61 74 20 62 65 6c 6f 6e | data th|at belon|
|000030c0| 67 65 64 20 74 6f 67 65 | 74 68 65 72 2e 20 46 6f |ged toge|ther. Fo|
|000030d0| 72 20 65 78 61 6d 70 6c | 65 2c 00 00 02 2d 00 09 |r exampl|e,...-..|
|000030e0| 00 51 73 75 70 70 6f 73 | 65 20 79 6f 75 20 77 61 |.Qsuppos|e you wa|
|000030f0| 6e 74 65 64 20 74 6f 20 | 69 6d 70 6c 65 6d 65 6e |nted to |implemen|
|00003100| 74 20 61 6e 20 65 6d 70 | 6c 6f 79 65 65 20 64 61 |t an emp|loyee da|
|00003110| 74 61 20 62 61 73 65 20 | 74 68 61 74 20 74 72 61 |ta base |that tra|
|00003120| 63 6b 65 64 20 61 6e 20 | 65 6d 70 6c 6f 79 65 65 |cked an |employee|
|00003130| ff d5 73 00 00 00 02 39 | 00 09 00 52 6e 61 6d 65 |..s....9|...Rname|
|00003140| 2c 20 65 6d 70 6c 6f 79 | 65 65 20 49 44 2c 20 61 |, employ|ee ID, a|
|00003150| 6e 64 20 73 61 6c 61 72 | 79 2e 20 20 59 6f 75 20 |nd salar|y. You |
|00003160| 6d 69 67 68 74 20 64 65 | 73 69 67 6e 20 61 20 73 |might de|sign a s|
|00003170| 74 72 75 63 74 75 72 65 | 20 74 68 61 74 20 6c 6f |tructure| that lo|
|00003180| 6f 6b 73 20 6c 69 6b 65 | 20 74 68 69 73 3a 00 00 |oks like| this:..|
|00003190| 02 50 00 12 00 20 c7 c7 | 63 6f 6e 73 74 20 73 68 |.P... ..|const sh|
|000031a0| 6f 72 74 8a 6b 4d 61 78 | 4e 61 6d 65 53 69 7a 65 |ort.kMax|NameSize|
|000031b0| 20 3d 20 32 30 3b 00 00 | 02 5b 00 12 00 01 c7 00 | = 20;..|.[......|
|000031c0| 00 00 02 66 00 12 00 11 | c7 c7 73 74 72 75 63 74 |...f....|..struct|
|000031d0| 20 45 6d 70 6c 6f 79 65 | 65 00 00 00 02 71 00 12 | Employe|e....q..|
|000031e0| 00 03 c7 c7 7b 00 00 00 | 02 7c 00 12 00 1d c7 89 |....{...|.|......|
|000031f0| c7 63 68 61 72 9e 6e 61 | 6d 65 5b 20 6b 4d 61 78 |.char.na|me[ kMax|
|00003200| 4e 61 6d 65 53 69 7a 65 | 20 5d 3b 00 00 00 02 87 |NameSize| ];.....|
|00003210| 00 12 00 0b c7 89 c7 6c | 6f 6e 67 9e 69 64 3b 00 |.......l|ong.id;.|
|00003220| 00 00 02 92 00 12 00 10 | c7 89 c7 66 6c 6f 61 74 |........|...float|
|00003230| 8a 73 61 6c 61 72 79 3b | 00 00 02 9d 00 12 00 04 |.salary;|........|
|00003240| c7 c7 7d 3b 00 00 02 a8 | 00 12 00 01 c7 00 00 00 |..};....|........|
|00003250| 02 b4 00 24 00 52 54 68 | 65 20 67 72 65 61 74 20 |...$.RTh|e great |
|00003260| 61 64 76 61 6e 74 61 67 | 65 20 6f 66 20 74 68 69 |advantag|e of thi|
|00003270| 73 20 73 74 72 75 63 74 | 75 72 65 20 69 73 20 74 |s struct|ure is t|
|00003280| 68 61 74 20 69 74 20 6c | 65 74 73 20 79 6f 75 20 |hat it l|ets you |
|00003290| 62 75 6e 64 6c 65 20 73 | 65 76 65 72 61 6c 20 70 |bundle s|everal p|
|000032a0| 69 65 63 65 73 20 6f 66 | 00 00 02 c0 00 09 00 48 |ieces of|.......H|
|000032b0| fd 00 1f 74 6f 67 65 74 | 68 65 72 20 75 6e 64 65 |...toget|her unde|
|000032c0| 72 20 61 20 73 69 6e 67 | 6c 65 20 6e 61 6d 65 2e |r a sing|le name.|
|000032d0| 20 54 68 69 73 20 63 6f | 6e 63 65 70 74 20 69 73 | This co|ncept is|
|000032e0| 20 6b 6e 6f 77 6e 20 61 | 73 20 65 6e 63 61 70 73 | known a|s encaps|
|000032f0| 75 6c 61 74 69 6f 6e 2e | 00 00 02 cc 00 24 00 52 |ulation.|.....$.R|
|00003300| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 69 66 20 |For exam|ple, if |
|00003310| 79 6f 75 20 77 72 6f 74 | 65 20 61 20 72 6f 75 74 |you wrot|e a rout|
|00003320| 69 6e 65 20 74 6f 20 70 | 72 69 6e 74 20 61 6e 20 |ine to p|rint an |
|00003330| 65 6d 70 6c 6f 79 65 65 | ff d5 73 20 64 61 74 61 |employee|..s data|
|00003340| 2c 20 79 6f 75 20 63 6f | 75 6c 64 20 77 72 69 74 |, you co|uld writ|
|00003350| 65 3a 00 00 02 e3 00 12 | 00 13 c7 c7 45 6d 70 6c |e:......|....Empl|
|00003360| 6f 79 65 65 8f 6e 65 77 | 48 69 72 65 3b 00 00 00 |oyee.new|Hire;...|
|00003370| 02 ee 00 12 00 05 c7 89 | c7 ff a5 00 00 00 02 f9 |........|........|
|00003380| 00 12 00 05 c7 89 c7 ff | a5 00 00 00 03 04 00 12 |........|........|
|00003390| 00 05 c7 89 c7 ff a5 00 | 00 00 03 0f 00 12 00 3c |........|.......<|
|000033a0| c7 c7 50 72 69 6e 74 45 | 6d 70 6c 6f 79 65 65 28 |..PrintE|mployee(|
|000033b0| 20 6e 65 77 48 69 72 65 | 2e 6e 61 6d 65 2c 20 6e | newHire|.name, n|
|000033c0| 65 77 48 69 72 65 2e 69 | 64 2c 20 6e 65 77 48 69 |ewHire.i|d, newHi|
|000033d0| 72 65 2e 73 61 6c 61 72 | 79 20 29 3b 00 00 03 27 |re.salar|y );...'|
|000033e0| 00 24 00 47 44 69 64 20 | 79 6f 75 20 6e 6f 74 69 |.$.GDid |you noti|
|000033f0| 63 65 20 61 6e 79 74 68 | 69 6e 67 20 75 6e 75 73 |ce anyth|ing unus|
|00003400| 75 61 6c 20 61 62 6f 75 | 74 20 74 68 65 20 64 65 |ual abou|t the de|
|00003410| 63 6c 61 72 61 74 69 6f | 6e 20 6f 66 20 6e 65 77 |claratio|n of new|
|00003420| 48 69 72 65 20 69 6e 20 | 74 68 65 00 00 00 03 33 |Hire in |the....3|
|00003430| 00 09 00 58 70 72 65 63 | 65 64 69 6e 67 20 63 6f |...Xprec|eding co|
|00003440| 64 65 20 73 61 6d 70 6c | 65 3f 20 49 6e 20 43 2c |de sampl|e? In C,|
|00003450| 20 74 68 69 73 20 63 6f | 64 65 20 77 6f 75 6c 64 | this co|de would|
|00003460| 20 6e 6f 74 20 68 61 76 | 65 20 63 6f 6d 70 69 6c | not hav|e compil|
|00003470| 65 64 2e 20 49 6e 73 74 | 65 61 64 2c 20 74 68 65 |ed. Inst|ead, the|
|00003480| 20 64 65 63 6c 61 72 61 | 74 69 6f 6e 00 00 03 3f | declara|tion...?|
|00003490| 00 09 00 1c 77 6f 75 6c | 64 20 68 61 76 65 20 6c |....woul|d have l|
|000034a0| 6f 6f 6b 65 64 20 6c 69 | 6b 65 20 74 68 69 73 3a |ooked li|ke this:|
|000034b0| 00 00 03 56 00 12 00 2e | c7 c7 73 74 72 75 63 74 |...V....|..struct|
|000034c0| 20 45 6d 70 6c 6f 79 65 | 65 8d 6e 65 77 48 69 72 | Employe|e.newHir|
|000034d0| 65 3b 86 2f 2a 20 54 68 | 65 20 43 20 76 65 72 73 |e;./* Th|e C vers|
|000034e0| 69 6f 6e 20 2a 2f 00 00 | 03 61 00 12 00 01 c7 00 |ion */..|.a......|
|000034f0| 00 00 03 6d 00 24 00 4e | 57 68 65 6e 20 74 68 65 |...m.$.N|When the|
|00003500| 20 43 2b 2b 20 63 6f 6d | 70 69 6c 65 72 20 73 65 | C++ com|piler se|
|00003510| 65 73 20 61 20 73 74 72 | 75 63 74 75 72 65 20 64 |es a str|ucture d|
|00003520| 65 63 6c 61 72 61 74 69 | 6f 6e 2c 20 69 74 20 75 |eclarati|on, it u|
|00003530| 73 65 73 20 74 68 65 20 | 73 74 72 75 63 74 75 72 |ses the |structur|
|00003540| 65 20 6e 61 6d 65 00 00 | 03 79 00 09 00 4d 74 6f |e name..|.y...Mto|
|00003550| 20 fd 00 0c 61 20 6e 65 | 77 20 64 61 74 61 20 74 | ...a ne|w data t|
|00003560| 79 70 65 2c 20 6d 61 6b | 69 6e 67 20 69 74 20 61 |ype, mak|ing it a|
|00003570| 76 61 69 6c 61 62 6c 65 | 20 66 6f 72 20 66 75 74 |vailable| for fut|
|00003580| 75 72 65 20 73 74 72 75 | 63 74 75 72 65 20 64 65 |ure stru|cture de|
|00003590| 63 6c 61 72 61 74 69 6f | 6e 73 2e 00 00 00 03 91 |claratio|ns......|
|000035a0| 00 24 00 4e 4f 6e 20 74 | 68 65 20 6f 74 68 65 72 |.$.NOn t|he other|
|000035b0| 20 68 61 6e 64 2c 20 69 | 74 20 77 6f 75 6c 64 20 | hand, i|t would |
|000035c0| 62 65 20 73 6f 20 6d 75 | 63 68 20 6d 6f 72 65 20 |be so mu|ch more |
|000035d0| 63 6f 6e 76 65 6e 69 65 | 6e 74 20 74 6f 20 70 61 |convenie|nt to pa|
|000035e0| 73 73 20 74 68 65 20 64 | 61 74 61 20 69 6e 20 69 |ss the d|ata in i|
|000035f0| 74 73 00 00 03 9d 00 09 | 00 12 65 6e 63 61 70 73 |ts......|..encaps|
|00003600| 75 6c 61 74 65 64 20 66 | 6f 72 6d 3a 00 00 03 b4 |ulated f|orm:....|
|00003610| 00 12 00 1c c7 c7 50 72 | 69 6e 74 45 6d 70 6c 6f |......Pr|intEmplo|
|00003620| 79 65 65 28 20 26 6e 65 | 77 48 69 72 65 20 29 3b |yee( &ne|wHire );|
|00003630| 00 00 03 bf 00 12 00 01 | c7 00 00 00 03 cb 00 24 |........|.......$|
|00003640| 00 43 45 6e 63 61 70 73 | 75 6c 61 74 69 6f 6e 20 |.CEncaps|ulation |
|00003650| 61 6c 6c 6f 77 73 20 79 | 6f 75 20 74 6f 20 72 65 |allows y|ou to re|
|00003660| 70 72 65 73 65 6e 74 20 | 63 6f 6d 70 6c 65 78 20 |present |complex |
|00003670| fd 00 1f 69 6e 20 61 20 | 6d 6f 72 65 20 6e 61 74 |...in a |more nat|
|00003680| 75 72 61 6c 2c 00 00 00 | 03 d7 00 09 00 4f 65 61 |ural,...|.....Oea|
|00003690| 73 69 6c 79 20 61 63 63 | 65 73 73 69 62 6c 65 20 |sily acc|essible |
|000036a0| 66 6f 72 6d 2e 20 49 6e | 20 74 68 65 20 43 20 6c |form. In| the C l|
|000036b0| 61 6e 67 75 61 67 65 2c | 20 74 68 65 20 73 74 72 |anguage,| the str|
|000036c0| 75 63 74 20 69 73 20 74 | 68 65 20 6d 6f 73 74 20 |uct is t|he most |
|000036d0| 73 6f 70 68 69 73 74 69 | 63 61 74 65 64 00 00 00 |sophisti|cated...|
|000036e0| 03 e3 00 09 00 53 65 6e | 63 61 70 73 75 6c 61 74 |.....Sen|capsulat|
|000036f0| 69 6f 6e 20 6d 65 63 68 | 61 6e 69 73 6d 20 61 76 |ion mech|anism av|
|00003700| 61 69 6c 61 62 6c 65 2e | 20 41 73 20 79 6f 75 27 |ailable.| As you'|
|00003710| 6c 6c 20 73 6f 6f 6e 20 | 73 65 65 2c 20 43 2b 2b |ll soon |see, C++|
|00003720| 20 74 61 6b 65 73 20 65 | 6e 63 61 70 73 75 6c 61 | takes e|ncapsula|
|00003730| 74 69 6f 6e 20 74 6f 20 | 61 00 00 00 03 ef 00 09 |tion to |a.......|
|00003740| 00 0a 6e 65 77 20 6c 65 | 76 65 6c 2e 00 00 04 05 |..new le|vel.....|
|00003750| 00 7c 00 22 c2 c2 45 6e | 63 61 70 73 75 6c 61 74 |.|."..En|capsulat|
|00003760| 69 6e 67 20 44 61 74 61 | 20 61 6e 64 20 46 75 6e |ing Data| and Fun|
|00003770| 63 74 69 6f 6e 73 00 00 | 04 16 00 24 00 48 57 68 |ctions..|...$.HWh|
|00003780| 69 6c 65 20 43 20 73 74 | 72 75 63 74 75 72 65 73 |ile C st|ructures|
|00003790| 20 61 72 65 20 6c 69 6d | 69 74 65 64 20 73 74 72 | are lim|ited str|
|000037a0| 69 63 74 6c 79 20 74 6f | 20 64 61 74 61 2c 20 43 |ictly to| data, C|
|000037b0| 2b 2b 20 73 75 70 70 6f | 72 74 73 20 73 74 72 75 |++ suppo|rts stru|
|000037c0| 63 74 75 72 65 73 00 00 | 04 22 00 09 00 24 63 6f |ctures..|."...$co|
|000037d0| 6d 70 6f 73 65 64 20 6f | 66 20 62 6f 74 68 20 64 |mposed o|f both d|
|000037e0| 61 74 61 20 61 6e 64 20 | 66 75 6e 63 74 69 6f 6e |ata and |function|
|000037f0| 73 2e 00 00 04 2e 00 24 | 00 31 48 65 72 65 27 73 |s......$|.1Here's|
|00003800| 20 61 6e 20 65 78 61 6d | 70 6c 65 20 6f 66 20 61 | an exam|ple of a|
|00003810| 20 43 2b 2b 20 73 74 72 | 75 63 74 75 72 65 20 64 | C++ str|ucture d|
|00003820| 65 63 6c 61 72 61 74 69 | 6f 6e 3a 00 00 00 04 45 |eclarati|on:....E|
|00003830| 00 12 00 20 c7 c7 63 6f | 6e 73 74 20 73 68 6f 72 |... ..co|nst shor|
|00003840| 74 8a 6b 4d 61 78 4e 61 | 6d 65 53 69 7a 65 20 3d |t.kMaxNa|meSize =|
|00003850| 20 32 30 3b 00 00 04 50 | 00 12 00 01 c7 00 00 00 | 20;...P|........|
|00003860| 04 5b 00 12 00 11 c7 c7 | 73 74 72 75 63 74 20 45 |.[......|struct E|
|00003870| 6d 70 6c 6f 79 65 65 00 | 00 00 04 66 00 12 00 03 |mployee.|...f....|
|00003880| c7 c7 7b 00 00 00 04 71 | 00 12 00 14 c7 c7 2f 2f |..{....q|......//|
|00003890| 98 44 61 74 61 20 6d 65 | 6d 62 65 72 73 2e 2e 2e |.Data me|mbers...|
|000038a0| 00 00 04 7c 00 12 00 25 | c7 96 c7 63 68 61 72 ac |...|...%|...char.|
|000038b0| 65 6d 70 6c 6f 79 65 65 | 4e 61 6d 65 5b 20 6b 4d |employee|Name[ kM|
|000038c0| 61 78 4e 61 6d 65 53 69 | 7a 65 20 5d 3b 00 00 00 |axNameSi|ze ];...|
|000038d0| 04 87 00 12 00 13 c7 96 | c7 6c 6f 6e 67 ac 65 6d |........|.long.em|
|000038e0| 70 6c 6f 79 65 65 49 44 | 3b 00 00 00 04 92 00 12 |ployeeID|;.......|
|000038f0| 00 18 c7 96 c7 66 6c 6f | 61 74 98 65 6d 70 6c 6f |.....flo|at.emplo|
|00003900| 79 65 65 53 61 6c 61 72 | 79 3b 00 00 04 9d 00 12 |yeeSalar|y;......|
|00003910| 00 01 c7 00 00 00 04 a8 | 00 12 00 18 c7 c7 2f 2f |........|......//|
|00003920| 98 4d 65 6d 62 65 72 20 | 66 75 6e 63 74 69 6f 6e |.Member |function|
|00003930| 73 2e 2e 2e 00 00 04 b3 | 00 12 00 18 c7 96 c7 76 |s.......|.......v|
|00003940| 6f 69 64 ac 50 72 69 6e | 74 45 6d 70 6c 6f 79 65 |oid.Prin|tEmploye|
|00003950| 65 28 29 3b 00 00 04 be | 00 12 00 04 c7 c7 7d 3b |e();....|......};|
|00003960| 00 00 04 c9 00 12 00 01 | c7 00 00 00 04 d5 00 24 |........|.......$|
|00003970| 00 49 54 68 69 73 20 65 | 78 61 6d 70 6c 65 20 64 |.IThis e|xample d|
|00003980| 65 63 6c 61 72 65 73 20 | 61 20 6e 65 77 20 74 79 |eclares |a new ty|
|00003990| 70 65 20 6e 61 6d 65 64 | 20 45 6d 70 6c 6f 79 65 |pe named| Employe|
|000039a0| 65 2e 20 59 6f 75 20 63 | 61 6e 20 75 73 65 20 74 |e. You c|an use t|
|000039b0| 68 65 20 45 6d 70 6c 6f | 79 65 65 00 00 00 04 e1 |he Emplo|yee.....|
|000039c0| 00 09 00 51 74 79 70 65 | 20 74 6f 20 64 65 63 6c |...Qtype| to decl|
|000039d0| 61 72 65 20 69 6e 64 69 | 76 69 64 75 61 6c 20 45 |are indi|vidual E|
|000039e0| 6d 70 6c 6f 79 65 65 20 | 6f 62 6a 65 63 74 73 2e |mployee |objects.|
|000039f0| 20 45 61 63 68 20 45 6d | 70 6c 6f 79 65 65 20 6f | Each Em|ployee o|
|00003a00| 62 6a 65 63 74 20 69 73 | 20 73 61 69 64 20 74 6f |bject is| said to|
|00003a10| 20 62 65 20 61 00 00 00 | 04 ed 00 09 00 1d 6d 65 | be a...|......me|
|00003a20| 6d 62 65 72 20 6f 66 20 | 74 68 65 20 45 6d 70 6c |mber of |the Empl|
|00003a30| 6f 79 65 65 20 63 6c 61 | 73 73 2e 00 00 00 04 f9 |oyee cla|ss......|
|00003a40| 00 24 00 4c 54 68 65 20 | 45 6d 70 6c 6f 79 65 65 |.$.LThe |Employee|
|00003a50| 20 63 6c 61 73 73 20 63 | 6f 6e 73 69 73 74 73 20 | class c|onsists |
|00003a60| 6f 66 20 74 68 72 65 65 | 20 64 61 74 61 20 66 69 |of three| data fi|
|00003a70| 65 6c 64 73 20 61 73 20 | 77 65 6c 6c 20 61 73 20 |elds as |well as |
|00003a80| 61 20 66 75 6e 63 74 69 | 6f 6e 20 6e 61 6d 65 64 |a functi|on named|
|00003a90| 00 00 05 05 00 09 00 52 | 50 72 69 6e 74 45 6d 70 |.......R|PrintEmp|
|00003aa0| 6c 6f 79 65 65 28 29 2e | 20 49 6e 20 43 2b 2b 2c |loyee().| In C++,|
|00003ab0| 20 61 20 63 6c 61 73 73 | 65 73 ff d5 20 64 61 74 | a class|es.. dat|
|00003ac0| 61 20 66 69 65 6c 64 73 | 20 61 72 65 20 6b 6e 6f |a fields| are kno|
|00003ad0| 77 6e 20 61 73 20 64 61 | 74 61 20 6d 65 6d 62 65 |wn as da|ta membe|
|00003ae0| 72 73 20 61 6e 64 20 69 | 74 73 00 00 05 11 00 09 |rs and i|ts......|
|00003af0| 00 28 66 75 6e 63 74 69 | 6f 6e 73 20 61 72 65 20 |.(functi|ons are |
|00003b00| 6b 6e 6f 77 6e 20 61 73 | 20 6d 65 6d 62 65 72 20 |known as| member |
|00003b10| 66 75 6e 63 74 69 6f 6e | 73 2e 00 00 05 1d 00 24 |function|s......$|
|00003b20| 00 48 45 61 63 68 20 45 | 6d 70 6c 6f 79 65 65 20 |.HEach E|mployee |
|00003b30| 6f 62 6a 65 63 74 20 79 | 6f 75 20 fd 00 0c 67 65 |object y|ou ...ge|
|00003b40| 74 73 20 69 74 73 20 6f | 77 6e 20 63 6f 70 79 20 |ts its o|wn copy |
|00003b50| 6f 66 20 74 68 65 20 45 | 6d 70 6c 6f 79 65 65 20 |of the E|mployee |
|00003b60| 63 6c 61 73 73 20 64 61 | 74 61 00 00 05 29 00 09 |class da|ta...)..|
|00003b70| 00 4e 6d 65 6d 62 65 72 | 73 2e 20 41 6c 6c 20 45 |.Nmember|s. All E|
|00003b80| 6d 70 6c 6f 79 65 65 20 | 6f 62 6a 65 63 74 73 20 |mployee |objects |
|00003b90| 73 68 61 72 65 20 61 20 | 73 69 6e 67 6c 65 20 73 |share a |single s|
|00003ba0| 65 74 20 6f 66 20 45 6d | 70 6c 6f 79 65 65 20 6d |et of Em|ployee m|
|00003bb0| 65 6d 62 65 72 20 66 75 | 6e 63 74 69 6f 6e 73 2e |ember fu|nctions.|
|00003bc0| 00 00 05 35 00 24 00 4c | 4c 61 74 65 72 20 69 6e |...5.$.L|Later in|
|00003bd0| 20 74 68 65 20 63 6f 6c | 75 6d 6e 2c 20 79 6f 75 | the col|umn, you|
|00003be0| ff d5 6c 6c 20 73 65 65 | 20 68 6f 77 20 74 6f 20 |..ll see| how to |
|00003bf0| 61 63 63 65 73 73 20 61 | 6e 20 6f 62 6a 65 63 74 |access a|n object|
|00003c00| ff d5 73 20 64 61 74 61 | 20 6d 65 6d 62 65 72 73 |..s data| members|
|00003c10| 20 61 6e 64 00 00 05 41 | 00 09 00 53 6d 65 6d 62 | and...A|...Smemb|
|00003c20| 65 72 20 66 75 6e 63 74 | 69 6f 6e 73 2e 20 46 6f |er funct|ions. Fo|
|00003c30| 72 20 6e 6f 77 2c 20 6c | 65 74 ff d5 73 20 74 61 |r now, l|et..s ta|
|00003c40| 6b 65 20 61 20 6c 6f 6f | 6b 20 61 74 20 74 68 65 |ke a loo|k at the|
|00003c50| 20 6d 65 63 68 61 6e 69 | 73 6d 73 20 43 2b 2b 20 | mechani|sms C++ |
|00003c60| 70 72 6f 76 69 64 65 73 | 20 74 6f 20 fe 00 0c 00 |provides| to ....|
|00003c70| 00 00 05 4d 00 09 00 14 | 61 6e 64 20 64 65 73 74 |...M....|and dest|
|00003c80| 72 6f 79 20 6f 62 6a 65 | 63 74 73 2e 00 00 05 63 |roy obje|cts....c|
|00003c90| 00 a7 00 14 c2 c2 43 72 | 65 61 74 69 6e 67 20 61 |......Cr|eating a|
|00003ca0| 6e 20 4f 62 6a 65 63 74 | 00 00 05 74 00 24 00 48 |n Object|...t.$.H|
|00003cb0| fb 00 2f 61 72 65 20 74 | 77 6f 20 77 61 79 73 20 |../are t|wo ways |
|00003cc0| 74 6f 20 fd 00 0c 61 20 | 6e 65 77 20 6f 62 6a 65 |to ...a |new obje|
|00003cd0| 63 74 2e 20 54 68 65 20 | 73 69 6d 70 6c 65 73 74 |ct. The |simplest|
|00003ce0| 20 6d 65 74 68 6f 64 20 | 69 73 20 74 6f 20 64 65 | method |is to de|
|00003cf0| 66 69 6e 65 20 74 68 65 | 00 00 05 80 00 09 00 34 |fine the|.......4|
|00003d00| 6f 62 6a 65 63 74 20 64 | 69 72 65 63 74 6c 79 2c |object d|irectly,|
|00003d10| 20 6a 75 73 74 20 61 73 | 20 79 6f 75 20 77 6f 75 | just as| you wou|
|00003d20| 6c 64 20 61 20 6c 6f 63 | 61 6c 20 76 61 72 69 61 |ld a loc|al varia|
|00003d30| 62 6c 65 3a 00 00 05 97 | 00 12 00 15 c7 c7 45 6d |ble:....|......Em|
|00003d40| 70 6c 6f 79 65 65 8f 65 | 6d 70 6c 6f 79 65 65 31 |ployee.e|mployee1|
|00003d50| 3b 00 00 00 05 af 00 24 | 00 4a 54 68 69 73 20 64 |;......$|.JThis d|
|00003d60| 65 66 69 6e 69 74 69 6f | 6e 20 fe 00 0c 73 20 61 |efinitio|n ...s a|
|00003d70| 6e 20 45 6d 70 6c 6f 79 | 65 65 20 6f 62 6a 65 63 |n Employ|ee objec|
|00003d80| 74 20 77 68 6f 73 65 20 | 6e 61 6d 65 20 69 73 20 |t whose |name is |
|00003d90| 65 6d 70 6c 6f 79 65 65 | 31 2e 20 65 6d 70 6c 6f |employee|1. emplo|
|00003da0| 79 65 65 31 00 00 05 bb | 00 09 00 53 63 6f 6e 73 |yee1....|...Scons|
|00003db0| 69 73 74 73 20 6f 66 20 | 61 20 62 6c 6f 63 6b 20 |ists of |a block |
|00003dc0| 6f 66 20 6d 65 6d 6f 72 | 79 20 6c 61 72 67 65 20 |of memor|y large |
|00003dd0| 65 6e 6f 75 67 68 20 74 | 6f 20 61 63 63 6f 6d 6f |enough t|o accomo|
|00003de0| 64 61 74 65 20 65 61 63 | 68 20 6f 66 20 74 68 65 |date eac|h of the|
|00003df0| 20 74 68 72 65 65 20 45 | 6d 70 6c 6f 79 65 65 00 | three E|mployee.|
|00003e00| 00 00 05 c7 00 09 00 0d | 64 61 74 61 20 6d 65 6d |........|data mem|
|00003e10| 62 65 72 73 2e 00 00 00 | 05 d3 00 24 00 4a 57 68 |bers....|...$.JWh|
|00003e20| 65 6e 20 79 6f 75 20 fd | 00 0c 61 6e 20 6f 62 6a |en you .|..an obj|
|00003e30| 65 63 74 20 62 79 20 64 | 65 66 69 6e 69 6e 67 20 |ect by d|efining |
|00003e40| 69 74 20 64 69 72 65 63 | 74 6c 79 2c 20 61 73 20 |it direc|tly, as |
|00003e50| 77 65 20 64 69 64 20 61 | 62 6f 76 65 2c 20 6d 65 |we did a|bove, me|
|00003e60| 6d 6f 72 79 20 66 6f 72 | 00 00 05 df 00 09 00 57 |mory for|.......W|
|00003e70| 74 68 65 20 6f 62 6a 65 | 63 74 20 69 73 20 61 6c |the obje|ct is al|
|00003e80| 6c 6f 63 61 74 65 64 20 | 77 68 65 6e 20 74 68 65 |located |when the|
|00003e90| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 6d 6f 76 65 | definit|ion move|
|00003ea0| 73 20 69 6e 74 6f 20 73 | 63 6f 70 65 2e 20 54 68 |s into s|cope. Th|
|00003eb0| 61 74 20 73 61 6d 65 20 | 6d 65 6d 6f 72 79 20 69 |at same |memory i|
|00003ec0| 73 20 66 72 65 65 64 00 | 00 00 05 eb 00 09 00 26 |s freed.|.......&|
|00003ed0| 75 70 20 77 68 65 6e 20 | 74 68 65 20 6f 62 6a 65 |up when |the obje|
|00003ee0| 63 74 20 64 72 6f 70 73 | 20 6f 75 74 20 6f 66 20 |ct drops| out of |
|00003ef0| 73 63 6f 70 65 2e 00 00 | 05 f7 00 24 00 47 46 6f |scope...|...$.GFo|
|00003f00| 72 20 65 78 61 6d 70 6c | 65 2c 20 79 6f 75 20 6d |r exampl|e, you m|
|00003f10| 69 67 68 74 20 64 65 66 | 69 6e 65 20 61 6e 20 6f |ight def|ine an o|
|00003f20| 62 6a 65 63 74 20 61 74 | 20 74 68 65 20 62 65 67 |bject at| the beg|
|00003f30| 69 6e 6e 69 6e 67 20 6f | 66 20 61 20 66 75 6e 63 |inning o|f a func|
|00003f40| 74 69 6f 6e 3a 00 00 00 | 06 0e 00 12 00 14 c7 c7 |tion:...|........|
|00003f50| 76 6f 69 64 8c fc 00 0c | 45 6d 70 6c 6f 79 65 65 |void....|Employee|
|00003f60| 28 29 00 00 06 19 00 12 | 00 03 c7 c7 7b 00 00 00 |()......|....{...|
|00003f70| 06 24 00 12 00 16 c7 89 | c7 45 6d 70 6c 6f 79 65 |.$......|.Employe|
|00003f80| 65 86 65 6d 70 6c 6f 79 | 65 65 31 3b 00 00 06 2f |e.employ|ee1;.../|
|00003f90| 00 12 00 01 c7 00 00 00 | 06 3a 00 12 00 05 c7 a4 |........|.:......|
|00003fa0| c7 ff a5 00 00 00 06 45 | 00 12 00 05 c7 a4 c7 ff |.......E|........|
|00003fb0| a5 00 00 00 06 50 00 12 | 00 05 c7 a4 c7 ff a5 00 |.....P..|........|
|00003fc0| 00 00 06 5b 00 12 00 03 | c7 c7 7d 00 00 00 06 66 |...[....|..}....f|
|00003fd0| 00 12 00 01 c7 00 00 00 | 06 72 00 24 00 51 57 68 |........|.r.$.QWh|
|00003fe0| 65 6e 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |en the f|unction |
|00003ff0| 69 73 20 63 61 6c 6c 65 | 64 2c 20 6d 65 6d 6f 72 |is calle|d, memor|
|00004000| 79 20 66 6f 72 20 74 68 | 65 20 6f 62 6a 65 63 74 |y for th|e object|
|00004010| 20 69 73 20 61 6c 6c 6f | 63 61 74 65 64 2c 20 72 | is allo|cated, r|
|00004020| 69 67 68 74 20 61 6c 6f | 6e 67 20 77 69 74 68 00 |ight alo|ng with.|
|00004030| 00 00 06 7e 00 09 00 55 | 74 68 65 20 66 75 6e 63 |...~...U|the func|
|00004040| 74 69 6f 6e ff d5 73 20 | 6f 74 68 65 72 20 6c 6f |tion..s |other lo|
|00004050| 63 61 6c 20 6f 62 6a 65 | 63 74 73 2e 20 57 68 65 |cal obje|cts. Whe|
|00004060| 6e 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 20 65 |n the fu|nction e|
|00004070| 78 69 74 73 2c 20 74 68 | 65 20 6f 62 6a 65 63 74 |xits, th|e object|
|00004080| ff d5 73 20 6d 65 6d 6f | 72 79 20 69 73 00 00 00 |..s memo|ry is...|
|00004090| 06 8a 00 09 00 0c 64 65 | 61 6c 6c 6f 63 61 74 65 |......de|allocate|
|000040a0| 64 2e 00 00 06 a2 00 24 | 00 4a 49 66 20 79 6f 75 |d......$|.JIf you|
|000040b0| 20 77 61 6e 74 20 61 20 | 6c 69 74 74 6c 65 20 6d | want a |little m|
|000040c0| 6f 72 65 20 63 6f 6e 74 | 72 6f 6c 20 6f 76 65 72 |ore cont|rol over|
|000040d0| 20 77 68 65 6e 20 79 6f | 75 72 20 6f 62 6a 65 63 | when yo|ur objec|
|000040e0| 74 20 69 73 20 64 65 73 | 74 72 6f 79 65 64 2c 20 |t is des|troyed, |
|000040f0| 74 61 6b 65 00 00 06 ae | 00 09 00 21 61 64 76 61 |take....|...!adva|
|00004100| 6e 74 61 67 65 20 6f 66 | 20 43 2b 2b ff d5 73 20 |ntage of| C++..s |
|00004110| 6e 65 77 20 6f 70 65 72 | 61 74 6f 72 2e 00 00 00 |new oper|ator....|
|00004120| 06 ba 00 24 00 4d 46 69 | 72 73 74 2c 20 64 65 66 |...$.MFi|rst, def|
|00004130| 69 6e 65 20 61 6e 20 6f | 62 6a 65 63 74 20 70 6f |ine an o|bject po|
|00004140| 69 6e 74 65 72 2c 20 74 | 68 65 6e 20 75 73 65 20 |inter, t|hen use |
|00004150| 6e 65 77 20 74 6f 20 61 | 6c 6c 6f 63 61 74 65 20 |new to a|llocate |
|00004160| 74 68 65 20 6d 65 6d 6f | 72 79 20 66 6f 72 20 79 |the memo|ry for y|
|00004170| 6f 75 72 00 00 00 06 c6 | 00 09 00 53 6f 62 6a 65 |our.....|...Sobje|
|00004180| 63 74 2e 20 6e 65 77 20 | 72 65 74 75 72 6e 73 20 |ct. new |returns |
|00004190| 61 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 74 68 65 |a pointe|r to the|
|000041a0| 20 6e 65 77 6c 79 20 fe | 00 0c 64 20 6f 62 6a 65 | newly .|..d obje|
|000041b0| 63 74 2e 20 48 65 72 65 | ff d5 73 20 73 6f 6d 65 |ct. Here|..s some|
|000041c0| 20 63 6f 64 65 20 74 68 | 61 74 20 fe 00 0c 73 00 | code th|at ...s.|
|000041d0| 00 00 06 d2 00 09 00 13 | 61 6e 20 45 6d 70 6c 6f |........|an Emplo|
|000041e0| 79 65 65 20 6f 62 6a 65 | 63 74 3a 00 00 00 06 e9 |yee obje|ct:.....|
|000041f0| 00 12 00 18 c7 c7 45 6d | 70 6c 6f 79 65 65 8f 2a |......Em|ployee.*|
|00004200| 65 6d 70 6c 6f 79 65 65 | 50 74 72 3b 00 00 06 f4 |employee|Ptr;....|
|00004210| 00 12 00 01 c7 00 00 00 | 06 ff 00 12 00 1d c7 c7 |........|........|
|00004220| 65 6d 70 6c 6f 79 65 65 | 50 74 72 20 3d 20 6e 65 |employee|Ptr = ne|
|00004230| 77 20 45 6d 70 6c 6f 79 | 65 65 3b 00 00 00 07 0a |w Employ|ee;.....|
|00004240| 00 12 00 01 c7 00 00 00 | 07 16 00 24 00 51 54 68 |........|...$.QTh|
|00004250| 65 20 66 69 72 73 74 20 | 6c 69 6e 65 20 6f 66 20 |e first |line of |
|00004260| 63 6f 64 65 20 64 65 66 | 69 6e 65 73 20 61 20 70 |code def|ines a p|
|00004270| 6f 69 6e 74 65 72 20 64 | 65 73 69 67 6e 65 64 20 |ointer d|esigned |
|00004280| 74 6f 20 70 6f 69 6e 74 | 20 74 6f 20 61 6e 20 45 |to point| to an E|
|00004290| 6d 70 6c 6f 79 65 65 20 | 6f 62 6a 65 63 74 2e 00 |mployee |object..|
|000042a0| 00 00 07 22 00 09 00 4f | 54 68 65 20 73 65 63 6f |..."...O|The seco|
|000042b0| 6e 64 20 6c 69 6e 65 20 | 75 73 65 73 20 6e 65 77 |nd line |uses new|
|000042c0| 20 74 6f 20 fd 00 0c 61 | 6e 20 45 6d 70 6c 6f 79 | to ...a|n Employ|
|000042d0| 65 65 20 6f 62 6a 65 63 | 74 2e 20 6e 65 77 20 72 |ee objec|t. new r|
|000042e0| 65 74 75 72 6e 73 20 61 | 20 70 6f 69 6e 74 65 72 |eturns a| pointer|
|000042f0| 20 74 6f 20 74 68 65 00 | 00 00 07 2e 00 09 00 14 | to the.|........|
|00004300| 6e 65 77 6c 79 20 fe 00 | 0c 64 20 45 6d 70 6c 6f |newly ..|.d Emplo|
|00004310| 79 65 65 2e 00 00 07 44 | 00 82 00 20 c2 c2 41 63 |yee....D|... ..Ac|
|00004320| 63 65 73 73 69 6e 67 20 | 61 6e 20 4f 62 6a 65 63 |cessing |an Objec|
|00004330| 74 ff d5 73 20 4d 65 6d | 62 65 72 73 00 00 07 55 |t..s Mem|bers...U|
|00004340| 00 24 00 49 4f 6e 63 65 | 20 79 6f 75 ff d5 76 65 |.$.IOnce| you..ve|
|00004350| 20 fe 00 0c 64 20 61 6e | 20 6f 62 6a 65 63 74 2c | ...d an| object,|
|00004360| 20 79 6f 75 20 63 61 6e | 20 6d 6f 64 69 66 79 20 | you can| modify |
|00004370| 69 74 73 20 64 61 74 61 | 20 6d 65 6d 62 65 72 73 |its data| members|
|00004380| 20 61 6e 64 20 63 61 6c | 6c 20 69 74 73 00 00 00 | and cal|l its...|
|00004390| 07 61 00 09 00 5b 6d 65 | 6d 62 65 72 20 66 75 6e |.a...[me|mber fun|
|000043a0| 63 74 69 6f 6e 73 2e 20 | 49 66 20 79 6f 75 ff d5 |ctions. |If you..|
|000043b0| 76 65 20 64 65 66 69 6e | 65 64 20 74 68 65 20 6f |ve defin|ed the o|
|000043c0| 62 6a 65 63 74 20 64 69 | 72 65 63 74 6c 79 2c 20 |bject di|rectly, |
|000043d0| 79 6f 75 ff d5 6c 6c 20 | 72 65 66 65 72 20 74 6f |you..ll |refer to|
|000043e0| 20 69 74 73 20 64 61 74 | 61 20 6d 65 6d 62 65 72 | its dat|a member|
|000043f0| 73 00 00 00 07 6d 00 09 | 00 15 75 73 69 6e 67 20 |s....m..|..using |
|00004400| 74 68 65 20 2e 20 6f 70 | 65 72 61 74 6f 72 3a 00 |the . op|erator:.|
|00004410| 00 00 07 84 00 12 00 15 | c7 c7 45 6d 70 6c 6f 79 |........|..Employ|
|00004420| 65 65 8f 65 6d 70 6c 6f | 79 65 65 31 3b 00 00 00 |ee.emplo|yee1;...|
|00004430| 07 8f 00 12 00 01 c7 00 | 00 00 07 9a 00 12 00 23 |........|.......#|
|00004440| c7 c7 65 6d 70 6c 6f 79 | 65 65 31 2e 65 6d 70 6c |..employ|ee1.empl|
|00004450| 6f 79 65 65 53 61 6c 61 | 72 79 20 3d 20 32 30 30 |oyeeSala|ry = 200|
|00004460| 2e 30 3b 00 00 00 07 a5 | 00 12 00 01 c7 00 00 00 |.0;.....|........|
|00004470| 07 b1 00 24 00 49 49 66 | 20 79 6f 75 ff d5 72 65 |...$.IIf| you..re|
|00004480| 20 72 65 66 65 72 65 6e | 63 69 6e 67 20 74 68 65 | referen|cing the|
|00004490| 20 6f 62 6a 65 63 74 20 | 74 68 72 6f 75 67 68 20 | object |through |
|000044a0| 61 20 70 6f 69 6e 74 65 | 72 2c 20 75 73 65 20 74 |a pointe|r, use t|
|000044b0| 68 65 20 2d 3e 20 6f 70 | 65 72 61 74 6f 72 3a 00 |he -> op|erator:.|
|000044c0| 00 00 07 bc 00 12 00 01 | c7 00 00 00 07 c7 00 12 |........|........|
|000044d0| 00 18 c7 c7 45 6d 70 6c | 6f 79 65 65 8f 2a 65 6d |....Empl|oyee.*em|
|000044e0| 70 6c 6f 79 65 65 50 74 | 72 3b 00 00 07 d2 00 12 |ployeePt|r;......|
|000044f0| 00 01 c7 00 00 00 07 dd | 00 12 00 1d c7 c7 65 6d |........|......em|
|00004500| 70 6c 6f 79 65 65 50 74 | 72 20 3d 20 6e 65 77 20 |ployeePt|r = new |
|00004510| 45 6d 70 6c 6f 79 65 65 | 3b 00 00 00 07 e8 00 12 |Employee|;.......|
|00004520| 00 01 c7 00 00 00 07 f3 | 00 12 00 26 c7 c7 65 6d |........|...&..em|
|00004530| 70 6c 6f 79 65 65 50 74 | 72 2d 3e 65 6d 70 6c 6f |ployeePt|r->emplo|
|00004540| 79 65 65 53 61 6c 61 72 | 79 20 3d 20 32 30 30 2e |yeeSalar|y = 200.|
|00004550| 30 3b 00 00 08 0b 00 24 | 00 4c 54 6f 20 63 61 6c |0;.....$|.LTo cal|
|00004560| 6c 20 61 20 6d 65 6d 62 | 65 72 20 66 75 6e 63 74 |l a memb|er funct|
|00004570| 69 6f 6e 2c 20 75 73 65 | 20 74 68 65 20 73 61 6d |ion, use| the sam|
|00004580| 65 20 74 65 63 68 6e 69 | 71 75 65 2e 20 49 66 20 |e techni|que. If |
|00004590| 74 68 65 20 6f 62 6a 65 | 63 74 20 77 61 73 20 64 |the obje|ct was d|
|000045a0| 65 66 69 6e 65 64 00 00 | 08 17 00 09 00 25 64 69 |efined..|.....%di|
|000045b0| 72 65 63 74 6c 79 2c 20 | 79 6f 75 ff d5 6c 6c 20 |rectly, |you..ll |
|000045c0| 75 73 65 20 74 68 65 20 | 2e 20 6f 70 65 72 61 74 |use the |. operat|
|000045d0| 6f 72 3a 00 00 00 08 22 | 00 12 00 01 c7 00 00 00 |or:...."|........|
|000045e0| 08 2d 00 12 00 15 c7 c7 | 45 6d 70 6c 6f 79 65 65 |.-......|Employee|
|000045f0| 8f 65 6d 70 6c 6f 79 65 | 65 31 3b 00 00 00 08 38 |.employe|e1;....8|
|00004600| 00 12 00 01 c7 00 00 00 | 08 43 00 12 00 1c c7 c7 |........|.C......|
|00004610| 65 6d 70 6c 6f 79 65 65 | 31 2e 50 72 69 6e 74 45 |employee|1.PrintE|
|00004620| 6d 70 6c 6f 79 65 65 28 | 29 3b 00 00 08 5b 00 24 |mployee(|);...[.$|
|00004630| 00 51 49 66 20 79 6f 75 | ff d5 72 65 20 72 65 66 |.QIf you|..re ref|
|00004640| 65 72 65 6e 63 69 6e 67 | 20 74 68 65 20 6f 62 6a |erencing| the obj|
|00004650| 65 63 74 20 74 68 72 6f | 75 67 68 20 61 20 70 6f |ect thro|ugh a po|
|00004660| 69 6e 74 65 72 2c 20 79 | 6f 75 ff d5 6c 6c 20 75 |inter, y|ou..ll u|
|00004670| 73 65 20 74 68 65 20 2d | 3e 20 6f 70 65 72 61 74 |se the -|> operat|
|00004680| 6f 72 3a 00 00 00 08 72 | 00 12 00 18 c7 c7 45 6d |or:....r|......Em|
|00004690| 70 6c 6f 79 65 65 8f 2a | 65 6d 70 6c 6f 79 65 65 |ployee.*|employee|
|000046a0| 50 74 72 3b 00 00 08 7d | 00 12 00 01 c7 00 00 00 |Ptr;...}|........|
|000046b0| 08 88 00 12 00 1d c7 c7 | 65 6d 70 6c 6f 79 65 65 |........|employee|
|000046c0| 50 74 72 20 3d 20 6e 65 | 77 20 45 6d 70 6c 6f 79 |Ptr = ne|w Employ|
|000046d0| 65 65 3b 00 00 00 08 93 | 00 12 00 01 c7 00 00 00 |ee;.....|........|
|000046e0| 08 9e 00 12 00 1f c7 c7 | 65 6d 70 6c 6f 79 65 65 |........|employee|
|000046f0| 50 74 72 2d 3e 50 72 69 | 6e 74 45 6d 70 6c 6f 79 |Ptr->Pri|ntEmploy|
|00004700| 65 65 28 29 3b 00 00 00 | 08 b4 00 a5 00 0f c2 c2 |ee();...|........|
|00004710| 54 68 65 20 fb 00 0a 4f | 62 6a 65 63 74 00 00 00 |The ...O|bject...|
|00004720| 08 c5 00 24 00 4c 49 6e | 20 74 68 65 20 70 72 65 |...$.LIn| the pre|
|00004730| 76 69 6f 75 73 20 65 78 | 61 6d 70 6c 65 73 2c 20 |vious ex|amples, |
|00004740| 65 61 63 68 20 72 65 66 | 65 72 65 6e 63 65 20 74 |each ref|erence t|
|00004750| 6f 20 61 20 64 61 74 61 | 20 6d 65 6d 62 65 72 20 |o a data| member |
|00004760| 6f 72 20 6d 65 6d 62 65 | 72 20 66 75 6e 63 74 69 |or membe|r functi|
|00004770| 6f 6e 00 00 08 d1 00 09 | 00 53 73 74 61 72 74 65 |on......|.Sstarte|
|00004780| 64 20 77 69 74 68 20 61 | 6e 20 6f 62 6a 65 63 74 |d with a|n object|
|00004790| 20 6f 72 20 6f 62 6a 65 | 63 74 20 70 6f 69 6e 74 | or obje|ct point|
|000047a0| 65 72 2e 20 fb 00 1e 61 | 20 6d 65 6d 62 65 72 20 |er. ...a| member |
|000047b0| 66 75 6e 63 74 69 6f 6e | 2c 20 68 6f 77 65 76 65 |function|, howeve|
|000047c0| 72 2c 20 74 68 65 20 6f | 62 6a 65 63 74 00 00 00 |r, the o|bject...|
|000047d0| 08 dd 00 09 00 54 6f 72 | 20 6f 62 6a 65 63 74 20 |.....Tor| object |
|000047e0| 70 6f 69 6e 74 65 72 20 | 69 73 6e ff d5 74 20 6e |pointer |isn..t n|
|000047f0| 65 63 65 73 73 61 72 79 | 20 74 6f 20 72 65 66 65 |ecessary| to refe|
|00004800| 72 20 74 6f 20 74 68 65 | 20 6f 62 6a 65 63 74 20 |r to the| object |
|00004810| 66 6f 72 20 fd 00 34 74 | 68 65 20 6d 65 6d 62 65 |for ..4t|he membe|
|00004820| 72 20 66 75 6e 63 74 69 | 6f 6e 00 00 08 e9 00 09 |r functi|on......|
|00004830| 00 0d 69 73 20 65 78 65 | 63 75 74 69 6e 67 2e 00 |..is exe|cuting..|
|00004840| 00 00 08 f5 00 24 00 47 | 46 6f 72 20 65 78 61 6d |.....$.G|For exam|
|00004850| 70 6c 65 2c 20 fd 00 1e | 74 68 65 20 50 72 69 6e |ple, ...|the Prin|
|00004860| 74 45 6d 70 6c 6f 79 65 | 65 28 29 20 66 75 6e 63 |tEmploye|e() func|
|00004870| 74 69 6f 6e 2c 20 79 6f | 75 20 63 61 6e 20 72 65 |tion, yo|u can re|
|00004880| 66 65 72 20 74 6f 20 74 | 68 65 20 64 61 74 61 00 |fer to t|he data.|
|00004890| 00 00 09 01 00 09 00 51 | 6d 65 6d 62 65 72 20 65 |.......Q|member e|
|000048a0| 6d 70 6c 6f 79 65 65 53 | 61 6c 61 72 79 20 64 69 |mployeeS|alary di|
|000048b0| 72 65 63 74 6c 79 2c 20 | 77 69 74 68 6f 75 74 20 |rectly, |without |
|000048c0| 72 65 66 65 72 72 69 6e | 67 20 74 6f 20 61 6e 20 |referrin|g to an |
|000048d0| 6f 62 6a 65 63 74 20 6f | 72 20 6f 62 6a 65 63 74 |object o|r object|
|000048e0| 20 70 6f 69 6e 74 65 72 | 3a 00 00 00 09 18 00 12 | pointer|:.......|
|000048f0| 00 1e c7 c7 69 66 20 28 | 20 65 6d 70 6c 6f 79 65 |....if (| employe|
|00004900| 65 53 61 6c 61 72 79 20 | 3c 3d 20 32 30 30 20 29 |eSalary |<= 200 )|
|00004910| 00 00 09 23 00 12 00 29 | c7 89 c7 63 6f 75 74 20 |...#...)|...cout |
|00004920| 3c 3c 20 22 47 69 76 65 | 20 74 68 69 73 20 70 65 |<< "Give| this pe|
|00004930| 72 73 6f 6e 20 61 20 72 | 61 69 73 65 21 21 21 22 |rson a r|aise!!!"|
|00004940| 3b 00 00 00 09 2e 00 12 | 00 01 c7 00 00 00 09 3a |;.......|.......:|
|00004950| 00 24 00 4f 54 68 69 73 | 20 63 6f 64 65 20 69 73 |.$.OThis| code is|
|00004960| 20 6b 69 6e 64 20 6f 66 | 20 70 75 7a 7a 6c 69 6e | kind of| puzzlin|
|00004970| 67 2e 20 57 68 61 74 20 | 6f 62 6a 65 63 74 20 64 |g. What |object d|
|00004980| 6f 65 73 20 65 6d 70 6c | 6f 79 65 65 53 61 6c 61 |oes empl|oyeeSala|
|00004990| 72 79 20 62 65 6c 6f 6e | 67 20 74 6f 3f 20 41 66 |ry belon|g to? Af|
|000049a0| 74 65 72 00 00 00 09 46 | 00 09 00 1c 61 6c 6c 2c |ter....F|....all,|
|000049b0| 20 79 6f 75 ff d5 72 65 | 20 75 73 65 64 20 74 6f | you..re| used to|
|000049c0| 20 73 61 79 69 6e 67 3a | 00 00 09 5d 00 12 00 1a | saying:|...]....|
|000049d0| c7 c7 6d 79 4f 62 6a 65 | 63 74 2d 3e 65 6d 70 6c |..myObje|ct->empl|
|000049e0| 6f 79 65 65 53 61 6c 61 | 72 79 00 00 09 68 00 12 |oyeeSala|ry...h..|
|000049f0| 00 18 c7 c7 69 6e 73 74 | 65 61 64 20 6f 66 20 6a |....inst|ead of j|
|00004a00| 75 73 74 20 70 6c 61 69 | 6e 3a 00 00 09 73 00 12 |ust plai|n:...s..|
|00004a10| 00 01 c7 00 00 00 09 7e | 00 12 00 10 c7 c7 65 6d |.......~|......em|
|00004a20| 70 6c 6f 79 65 65 53 61 | 6c 61 72 79 00 00 09 96 |ployeeSa|lary....|
|00004a30| 00 24 00 44 54 68 65 20 | 6b 65 79 20 74 6f 20 74 |.$.DThe |key to t|
|00004a40| 68 69 73 20 70 75 7a 7a | 6c 65 20 6c 69 65 73 20 |his puzz|le lies |
|00004a50| 69 6e 20 6b 6e 6f 77 69 | 6e 67 20 fd 00 34 6f 62 |in knowi|ng ..4ob|
|00004a60| 6a 65 63 74 20 73 70 61 | 77 6e 65 64 20 74 68 65 |ject spa|wned the|
|00004a70| 20 63 61 6c 6c 20 6f 66 | 00 00 09 a2 00 09 00 51 | call of|.......Q|
|00004a80| 50 72 69 6e 74 45 6d 70 | 6c 6f 79 65 65 28 29 20 |PrintEmp|loyee() |
|00004a90| 69 6e 20 74 68 65 20 66 | 69 72 73 74 20 70 6c 61 |in the f|irst pla|
|00004aa0| 63 65 2e 20 41 6c 74 68 | 6f 75 67 68 20 74 68 69 |ce. Alth|ough thi|
|00004ab0| 73 20 6d 61 79 20 6e 6f | 74 20 62 65 20 6f 62 76 |s may no|t be obv|
|00004ac0| 69 6f 75 73 2c 20 61 20 | 63 61 6c 6c 20 74 6f 20 |ious, a |call to |
|00004ad0| 61 00 00 00 09 ae 00 09 | 00 3f 6e 6f 6e 2d 73 74 |a.......|.?non-st|
|00004ae0| 61 74 69 63 20 6d 65 6d | 62 65 72 20 66 75 6e 63 |atic mem|ber func|
|00004af0| 74 69 6f 6e 20 6d 75 73 | 74 20 6f 72 69 67 69 6e |tion mus|t origin|
|00004b00| 61 74 65 20 77 69 74 68 | 20 61 20 73 69 6e 67 6c |ate with| a singl|
|00004b10| 65 20 6f 62 6a 65 63 74 | 2e 00 00 00 09 c6 00 24 |e object|.......$|
|00004b20| 00 48 53 75 70 70 6f 73 | 65 20 79 6f 75 20 63 61 |.HSuppos|e you ca|
|00004b30| 6c 6c 65 64 20 50 72 69 | 6e 74 45 6d 70 6c 6f 79 |lled Pri|ntEmploy|
|00004b40| 65 65 28 29 20 66 72 6f | 6d 20 61 20 6e 6f 6e 2d |ee() fro|m a non-|
|00004b50| 45 6d 70 6c 6f 79 65 65 | 20 66 75 6e 63 74 69 6f |Employee| functio|
|00004b60| 6e 20 28 73 75 63 68 20 | 61 73 00 00 09 d2 00 09 |n (such |as......|
|00004b70| 00 42 6d 61 69 6e 28 29 | 29 2e 20 59 6f 75 20 6d |.Bmain()|). You m|
|00004b80| 75 73 74 20 70 72 65 63 | 65 64 65 20 74 68 69 73 |ust prec|ede this|
|00004b90| 20 63 61 6c 6c 20 77 69 | 74 68 20 61 20 72 65 66 | call wi|th a ref|
|00004ba0| 65 72 65 6e 63 65 20 74 | 6f 20 61 6e 20 6f 62 6a |erence t|o an obj|
|00004bb0| 65 63 74 3a 00 00 09 e9 | 00 12 00 1f c7 c7 65 6d |ect:....|......em|
|00004bc0| 70 6c 6f 79 65 65 50 74 | 72 2d 3e 50 72 69 6e 74 |ployeePt|r->Print|
|00004bd0| 45 6d 70 6c 6f 79 65 65 | 28 29 3b 00 00 00 0a 01 |Employee|();.....|
|00004be0| 00 24 00 50 57 68 65 6e | 65 76 65 72 20 61 20 6d |.$.PWhen|ever a m|
|00004bf0| 65 6d 62 65 72 20 66 75 | 6e 63 74 69 6f 6e 20 69 |ember fu|nction i|
|00004c00| 73 20 63 61 6c 6c 65 64 | 2c 20 43 2b 2b 20 6b 65 |s called|, C++ ke|
|00004c10| 65 70 73 20 74 72 61 63 | 6b 20 6f 66 20 74 68 65 |eps trac|k of the|
|00004c20| 20 6f 62 6a 65 63 74 20 | 75 73 65 64 20 74 6f 20 | object |used to |
|00004c30| 63 61 6c 6c 00 00 0a 0d | 00 09 00 34 74 68 65 20 |call....|...4the |
|00004c40| 66 75 6e 63 74 69 6f 6e | 2e 20 54 68 69 73 20 6f |function|. This o|
|00004c50| 62 6a 65 63 74 20 69 73 | 20 6b 6e 6f 77 6e 20 61 |bject is| known a|
|00004c60| 73 20 74 68 65 20 fd 00 | 0a 6f 62 6a 65 63 74 2e |s the ..|.object.|
|00004c70| 00 00 0a 19 00 24 00 51 | 49 6e 20 74 68 65 20 63 |.....$.Q|In the c|
|00004c80| 61 6c 6c 20 6f 66 20 50 | 72 69 6e 74 45 6d 70 6c |all of P|rintEmpl|
|00004c90| 6f 79 65 65 28 29 20 61 | 62 6f 76 65 2c 20 74 68 |oyee() a|bove, th|
|00004ca0| 65 20 6f 62 6a 65 63 74 | 20 70 6f 69 6e 74 65 64 |e object| pointed|
|00004cb0| 20 74 6f 20 62 79 20 65 | 6d 70 6c 6f 79 65 65 50 | to by e|mployeeP|
|00004cc0| 74 72 20 69 73 20 74 68 | 65 00 00 00 0a 25 00 09 |tr is th|e....%..|
|00004cd0| 00 4b fd 00 0a 6f 62 6a | 65 63 74 2e 20 57 68 65 |.K...obj|ect. Whe|
|00004ce0| 6e 65 76 65 72 20 74 68 | 69 73 20 63 61 6c 6c 20 |never th|is call |
|00004cf0| 6f 66 20 50 72 69 6e 74 | 45 6d 70 6c 6f 79 65 65 |of Print|Employee|
|00004d00| 28 29 20 72 65 66 65 72 | 73 20 74 6f 20 61 6e 20 |() refer|s to an |
|00004d10| 45 6d 70 6c 6f 79 65 65 | 20 64 61 74 61 00 00 00 |Employee| data...|
|00004d20| 0a 31 00 09 00 52 6d 65 | 6d 62 65 72 20 6f 72 20 |.1...Rme|mber or |
|00004d30| 66 75 6e 63 74 69 6f 6e | 20 77 69 74 68 6f 75 74 |function| without|
|00004d40| 20 75 73 69 6e 67 20 61 | 6e 20 6f 62 6a 65 63 74 | using a|n object|
|00004d50| 20 72 65 66 65 72 65 6e | 63 65 2c 20 74 68 65 20 | referen|ce, the |
|00004d60| fd 00 0a 6f 62 6a 65 63 | 74 20 28 69 6e 20 74 68 |...objec|t (in th|
|00004d70| 69 73 20 63 61 73 65 2c | 00 00 0a 3d 00 09 00 31 |is case,|...=...1|
|00004d80| 74 68 65 20 6f 62 6a 65 | 63 74 20 70 6f 69 6e 74 |the obje|ct point|
|00004d90| 65 64 20 74 6f 20 62 79 | 20 65 6d 70 6c 6f 79 65 |ed to by| employe|
|00004da0| 65 50 74 72 29 20 69 73 | 20 61 73 73 75 6d 65 64 |ePtr) is| assumed|
|00004db0| 2e 00 00 00 0a 49 00 24 | 00 49 53 75 70 70 6f 73 |.....I.$|.ISuppos|
|00004dc0| 65 20 50 72 69 6e 74 45 | 6d 70 6c 6f 79 65 65 28 |e PrintE|mployee(|
|00004dd0| 29 20 74 68 65 6e 20 63 | 61 6c 6c 65 64 20 61 6e |) then c|alled an|
|00004de0| 6f 74 68 65 72 20 45 6d | 70 6c 6f 79 65 65 20 66 |other Em|ployee f|
|00004df0| 75 6e 63 74 69 6f 6e 2e | 20 54 68 65 20 6f 62 6a |unction.| The obj|
|00004e00| 65 63 74 00 00 00 0a 55 | 00 09 00 4b 70 6f 69 6e |ect....U|...Kpoin|
|00004e10| 74 65 64 20 74 6f 20 62 | 79 20 65 6d 70 6c 6f 79 |ted to b|y employ|
|00004e20| 65 65 50 74 72 20 69 73 | 20 73 74 69 6c 6c 20 63 |eePtr is| still c|
|00004e30| 6f 6e 73 69 64 65 72 65 | 64 20 74 68 65 20 fd 00 |onsidere|d the ..|
|00004e40| 0a 6f 62 6a 65 63 74 2e | 20 41 20 72 65 66 65 72 |.object.| A refer|
|00004e50| 65 6e 63 65 20 74 6f 00 | 00 00 0a 61 00 09 00 4c |ence to.|...a...L|
|00004e60| 65 6d 70 6c 6f 79 65 65 | 53 61 6c 61 72 79 20 77 |employee|Salary w|
|00004e70| 6f 75 6c 64 20 73 74 69 | 6c 6c 20 72 65 66 65 72 |ould sti|ll refer|
|00004e80| 20 74 6f 20 74 68 65 20 | fd 00 0a 6f 62 6a 65 63 | to the |...objec|
|00004e90| 74 ff d5 73 20 63 6f 70 | 79 20 6f 66 20 65 6d 70 |t..s cop|y of emp|
|00004ea0| 6c 6f 79 65 65 53 61 6c | 61 72 79 2e 00 00 0a 6d |loyeeSal|ary....m|
|00004eb0| 00 24 00 4e 54 68 65 20 | 70 6f 69 6e 74 20 74 6f |.$.NThe |point to|
|00004ec0| 20 72 65 6d 65 6d 62 65 | 72 20 69 73 2c 20 61 20 | remembe|r is, a |
|00004ed0| 6e 6f 6e 2d 73 74 61 74 | 69 63 20 6d 65 6d 62 65 |non-stat|ic membe|
|00004ee0| 72 20 66 75 6e 63 74 69 | 6f 6e 20 61 6c 77 61 79 |r functi|on alway|
|00004ef0| 73 20 73 74 61 72 74 73 | 20 75 70 20 77 69 74 68 |s starts| up with|
|00004f00| 20 61 00 00 0a 79 00 09 | 00 16 73 69 6e 67 6c 65 | a...y..|..single|
|00004f10| 20 6f 62 6a 65 63 74 20 | 69 6e 20 6d 69 6e 64 2e | object |in mind.|
|00004f20| 00 00 0a 8f 00 8f 00 1d | c2 c2 54 68 65 20 ff d2 |........|..The ..|
|00004f30| 54 68 69 73 ff d3 20 4f | 62 6a 65 63 74 20 50 6f |This.. O|bject Po|
|00004f40| 69 6e 74 65 72 00 00 00 | 0a a0 00 24 00 48 43 2b |inter...|...$.HC+|
|00004f50| 2b 20 70 72 6f 76 69 64 | 65 73 20 61 20 67 65 6e |+ provid|es a gen|
|00004f60| 65 72 69 63 20 6f 62 6a | 65 63 74 20 70 6f 69 6e |eric obj|ect poin|
|00004f70| 74 65 72 2c 20 61 76 61 | 69 6c 61 62 6c 65 20 fd |ter, ava|ilable .|
|00004f80| 00 1e 61 6e 79 20 6d 65 | 6d 62 65 72 20 66 75 6e |..any me|mber fun|
|00004f90| 63 74 69 6f 6e 2c 00 00 | 0a ac 00 09 00 51 74 68 |ction,..|.....Qth|
|00004fa0| 61 74 20 70 6f 69 6e 74 | 73 20 74 6f 20 74 68 65 |at point|s to the|
|00004fb0| 20 fd 00 0a 6f 62 6a 65 | 63 74 2e 20 54 68 65 20 | ...obje|ct. The |
|00004fc0| 67 65 6e 65 72 69 63 20 | 70 6f 69 6e 74 65 72 20 |generic |pointer |
|00004fd0| 68 61 73 20 74 68 65 20 | 6e 61 6d 65 20 74 68 69 |has the |name thi|
|00004fe0| 73 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 00 |s. For e|xample,.|
|00004ff0| 00 00 0a b8 00 09 00 25 | fd 00 1e 65 76 65 72 79 |.......%|...every|
|00005000| 20 45 6d 70 6c 6f 79 65 | 65 20 66 75 6e 63 74 69 | Employe|e functi|
|00005010| 6f 6e 2c 20 74 68 65 20 | 6c 69 6e 65 3a 00 00 00 |on, the |line:...|
|00005020| 0a c3 00 12 00 01 c7 00 | 00 00 0a ce 00 12 00 1d |........|........|
|00005030| c7 c7 74 68 69 73 2d 3e | 65 6d 70 6c 6f 79 65 65 |..this->|employee|
|00005040| 53 61 6c 61 72 79 20 3d | 20 34 30 30 3b 00 00 00 |Salary =| 400;...|
|00005050| 0a d9 00 12 00 1d c7 c7 | 69 73 20 65 71 75 69 76 |........|is equiv|
|00005060| 61 6c 65 6e 74 20 74 6f | 20 74 68 69 73 20 6c 69 |alent to| this li|
|00005070| 6e 65 3a 00 00 00 0a e4 | 00 12 00 01 c7 00 00 00 |ne:.....|........|
|00005080| 0a ef 00 12 00 17 c7 c7 | 65 6d 70 6c 6f 79 65 65 |........|employee|
|00005090| 53 61 6c 61 72 79 20 3d | 20 34 30 30 3b 00 00 00 |Salary =| 400;...|
|000050a0| 0b 07 00 24 00 4a 74 68 | 69 73 20 69 73 20 75 73 |...$.Jth|is is us|
|000050b0| 65 66 75 6c 20 77 68 65 | 6e 20 61 20 6d 65 6d 62 |eful whe|n a memb|
|000050c0| 65 72 20 66 75 6e 63 74 | 69 6f 6e 20 77 61 6e 74 |er funct|ion want|
|000050d0| 73 20 74 6f 20 72 65 74 | 75 72 6e 20 61 20 70 6f |s to ret|urn a po|
|000050e0| 69 6e 74 65 72 20 74 6f | 20 74 68 65 20 fe 00 0a |inter to| the ...|
|000050f0| 00 00 0b 13 00 09 00 53 | 6f 62 6a 65 63 74 2c 20 |.......S|object, |
|00005100| 70 61 73 73 20 74 68 65 | 20 61 64 64 72 65 73 73 |pass the| address|
|00005110| 20 6f 66 20 74 68 65 20 | fd 00 0a 6f 62 6a 65 63 | of the |...objec|
|00005120| 74 20 6f 6e 20 74 6f 20 | 61 6e 6f 74 68 65 72 20 |t on to |another |
|00005130| 66 75 6e 63 74 69 6f 6e | 2c 20 6f 72 20 6a 75 73 |function|, or jus|
|00005140| 74 20 73 74 6f 72 65 20 | 74 68 65 00 00 00 0b 1f |t store |the.....|
|00005150| 00 09 00 25 61 64 64 72 | 65 73 73 20 73 6f 6d 65 |...%addr|ess some|
|00005160| 77 68 65 72 65 2e 20 54 | 68 69 73 20 6c 69 6e 65 |where. T|his line|
|00005170| 20 6f 66 20 63 6f 64 65 | 3a 00 00 00 0b 36 00 12 | of code|:....6..|
|00005180| 00 0e c7 c7 72 65 74 75 | 72 6e 20 74 68 69 73 3b |....retu|rn this;|
|00005190| 00 00 0b 41 00 12 00 01 | c7 00 00 00 0b 4d 00 24 |...A....|.....M.$|
|000051a0| 00 25 72 65 74 75 72 6e | 73 20 74 68 65 20 61 64 |.%return|s the ad|
|000051b0| 64 72 65 73 73 20 6f 66 | 20 74 68 65 20 fd 00 0a |dress of| the ...|
|000051c0| 6f 62 6a 65 63 74 2e 00 | 00 00 0b 63 00 a7 00 14 |object..|...c....|
|000051d0| c2 c2 44 65 6c 65 74 69 | 6e 67 20 61 6e 20 4f 62 |..Deleti|ng an Ob|
|000051e0| 6a 65 63 74 00 00 0b 74 | 00 24 00 47 57 68 65 6e |ject...t|.$.GWhen|
|000051f0| 20 79 6f 75 20 fd 00 0c | 61 6e 20 6f 62 6a 65 63 | you ...|an objec|
|00005200| 74 20 75 73 69 6e 67 20 | 6e 65 77 2c 20 79 6f 75 |t using |new, you|
|00005210| ff d5 76 65 20 67 6f 74 | 20 74 6f 20 74 61 6b 65 |..ve got| to take|
|00005220| 20 72 65 73 70 6f 6e 73 | 69 62 69 6c 69 74 79 20 | respons|ibility |
|00005230| 66 6f 72 00 00 00 0b 80 | 00 09 00 58 64 65 73 74 |for.....|...Xdest|
|00005240| 72 6f 79 69 6e 67 20 74 | 68 65 20 6f 62 6a 65 63 |roying t|he objec|
|00005250| 74 20 61 74 20 74 68 65 | 20 61 70 70 72 6f 70 72 |t at the| appropr|
|00005260| 69 61 74 65 20 74 69 6d | 65 2e 20 4a 75 73 74 20 |iate tim|e. Just |
|00005270| 61 73 20 61 20 43 20 70 | 72 6f 67 72 61 6d 6d 65 |as a C p|rogramme|
|00005280| 72 20 62 61 6c 61 6e 63 | 65 73 20 61 20 63 61 6c |r balanc|es a cal|
|00005290| 6c 20 74 6f 00 00 0b 8c | 00 09 00 4d 6d 61 6c 6c |l to....|...Mmall|
|000052a0| 6f 63 28 29 20 77 69 74 | 68 20 61 20 63 61 6c 6c |oc() wit|h a call|
|000052b0| 20 74 6f 20 66 72 65 65 | 28 29 2c 20 61 20 43 2b | to free|(), a C+|
|000052c0| 2b 20 70 72 6f 67 72 61 | 6d 6d 65 72 20 62 61 6c |+ progra|mmer bal|
|000052d0| 61 6e 63 65 73 20 65 61 | 63 68 20 75 73 65 20 6f |ances ea|ch use o|
|000052e0| 66 20 74 68 65 20 6e 65 | 77 00 00 00 0b 98 00 09 |f the ne|w.......|
|000052f0| 00 47 6f 70 65 72 61 74 | 6f 72 20 77 69 74 68 20 |.Goperat|or with |
|00005300| 61 6e 20 fe 00 15 75 61 | 6c 20 75 73 65 20 6f 66 |an ...ua|l use of|
|00005310| 20 74 68 65 20 64 65 6c | 65 74 65 20 6f 70 65 72 | the del|ete oper|
|00005320| 61 74 6f 72 2e 20 48 65 | 72 65 ff d5 73 20 74 68 |ator. He|re..s th|
|00005330| 65 20 73 79 6e 74 61 78 | 3a 00 00 00 0b af 00 12 |e syntax|:.......|
|00005340| 00 18 c7 c7 45 6d 70 6c | 6f 79 65 65 8f 2a 65 6d |....Empl|oyee.*em|
|00005350| 70 6c 6f 79 65 65 50 74 | 72 3b 00 00 0b ba 00 12 |ployeePt|r;......|
|00005360| 00 01 c7 00 00 00 0b c5 | 00 12 00 1d c7 c7 65 6d |........|......em|
|00005370| 70 6c 6f 79 65 65 50 74 | 72 20 3d 20 6e 65 77 20 |ployeePt|r = new |
|00005380| 45 6d 70 6c 6f 79 65 65 | 3b 00 00 00 0b d0 00 12 |Employee|;.......|
|00005390| 00 01 c7 00 00 00 0b db | 00 12 00 15 c7 c7 64 65 |........|......de|
|000053a0| 6c 65 74 65 20 65 6d 70 | 6c 6f 79 65 65 50 74 72 |lete emp|loyeePtr|
|000053b0| 3b 00 00 00 0b e6 00 12 | 00 01 c7 00 00 00 0b f2 |;.......|........|
|000053c0| 00 24 00 4d 41 73 20 79 | 6f 75 ff d5 64 20 65 78 |.$.MAs y|ou..d ex|
|000053d0| 70 65 63 74 2c 20 64 65 | 6c 65 74 65 20 64 65 73 |pect, de|lete des|
|000053e0| 74 72 6f 79 73 20 74 68 | 65 20 73 70 65 63 69 66 |troys th|e specif|
|000053f0| 69 65 64 20 6f 62 6a 65 | 63 74 2c 20 66 72 65 65 |ied obje|ct, free|
|00005400| 69 6e 67 20 75 70 20 61 | 6e 79 20 6d 65 6d 6f 72 |ing up a|ny memor|
|00005410| 79 00 00 00 0b fe 00 09 | 00 55 61 6c 6c 6f 63 61 |y.......|.Ualloca|
|00005420| 74 65 64 20 66 6f 72 20 | 74 68 65 20 6f 62 6a 65 |ted for |the obje|
|00005430| 63 74 2e 20 4e 6f 74 65 | 20 74 68 61 74 20 74 68 |ct. Note| that th|
|00005440| 69 73 20 66 72 65 65 64 | 20 75 70 20 6d 65 6d 6f |is freed| up memo|
|00005450| 72 79 20 6f 6e 6c 79 20 | 69 6e 63 6c 75 64 65 73 |ry only |includes|
|00005460| 20 6d 65 6d 6f 72 79 20 | 66 6f 72 20 74 68 65 00 | memory |for the.|
|00005470| 00 00 0c 0a 00 09 00 4b | 61 63 74 75 61 6c 20 6f |.......K|actual o|
|00005480| 62 6a 65 63 74 20 61 6e | 64 20 64 6f 65 73 20 6e |bject an|d does n|
|00005490| 6f 74 20 69 6e 63 6c 75 | 64 65 20 61 6e 79 20 65 |ot inclu|de any e|
|000054a0| 78 74 72 61 20 6d 65 6d | 6f 72 79 20 79 6f 75 20 |xtra mem|ory you |
|000054b0| 6d 61 79 20 68 61 76 65 | 20 61 6c 6c 6f 63 61 74 |may have| allocat|
|000054c0| 65 64 2e 00 00 00 0c 16 | 00 24 00 4f 46 6f 72 20 |ed......|.$.OFor |
|000054d0| 65 78 61 6d 70 6c 65 2c | 20 73 75 70 70 6f 73 65 |example,| suppose|
|000054e0| 20 74 68 65 20 6f 62 6a | 65 63 74 20 69 73 20 61 | the obj|ect is a|
|000054f0| 20 73 74 72 75 63 74 75 | 72 65 20 61 6e 64 20 6f | structu|re and o|
|00005500| 6e 65 20 6f 66 20 69 74 | 73 20 64 61 74 61 20 6d |ne of it|s data m|
|00005510| 65 6d 62 65 72 73 20 69 | 73 20 61 00 00 00 0c 22 |embers i|s a...."|
|00005520| 00 09 00 57 70 6f 69 6e | 74 65 72 20 74 6f 20 61 |...Wpoin|ter to a|
|00005530| 6e 6f 74 68 65 72 20 73 | 74 72 75 63 74 75 72 65 |nother s|tructure|
|00005540| 2e 20 57 68 65 6e 20 79 | 6f 75 20 64 65 6c 65 74 |. When y|ou delet|
|00005550| 65 20 74 68 65 20 66 69 | 72 73 74 20 73 74 72 75 |e the fi|rst stru|
|00005560| 63 74 75 72 65 2c 20 74 | 68 65 20 73 65 63 6f 6e |cture, t|he secon|
|00005570| 64 20 73 74 72 75 63 74 | 75 72 65 00 00 00 0c 2e |d struct|ure.....|
|00005580| 00 09 00 0f 69 73 20 6e | 6f 74 20 64 65 6c 65 74 |....is n|ot delet|
|00005590| 65 64 2e 00 00 00 0c 44 | 00 8e 00 1a c2 c2 57 72 |ed.....D|......Wr|
|000055a0| 69 74 69 6e 67 20 4d 65 | 6d 62 65 72 20 46 75 6e |iting Me|mber Fun|
|000055b0| 63 74 69 6f 6e 73 00 00 | 0c 55 00 24 00 4e 4f 6e |ctions..|.U.$.NOn|
|000055c0| 63 65 20 79 6f 75 72 20 | 73 74 72 75 63 74 75 72 |ce your |structur|
|000055d0| 65 20 69 73 20 64 65 63 | 6c 61 72 65 64 2c 20 79 |e is dec|lared, y|
|000055e0| 6f 75 ff d5 72 65 20 72 | 65 61 64 79 20 74 6f 20 |ou..re r|eady to |
|000055f0| 77 72 69 74 65 20 79 6f | 75 72 20 6d 65 6d 62 65 |write yo|ur membe|
|00005600| 72 20 66 75 6e 63 74 69 | 6f 6e 73 2e 00 00 0c 61 |r functi|ons....a|
|00005610| 00 09 00 54 4d 65 6d 62 | 65 72 20 66 75 6e 63 74 |...TMemb|er funct|
|00005620| 69 6f 6e 73 20 62 65 68 | 61 76 65 20 69 6e 20 6d |ions beh|ave in m|
|00005630| 75 63 68 20 74 68 65 20 | 73 61 6d 65 20 77 61 79 |uch the |same way|
|00005640| 20 61 73 20 6f 72 64 69 | 6e 61 72 79 20 66 75 6e | as ordi|nary fun|
|00005650| 63 74 69 6f 6e 73 2c 20 | 77 69 74 68 20 61 20 66 |ctions, |with a f|
|00005660| 65 77 20 73 6d 61 6c 6c | 00 00 0c 6d 00 09 00 59 |ew small|...m...Y|
|00005670| 64 69 66 66 65 72 65 6e | 63 65 73 2e 20 4f 6e 65 |differen|ces. One|
|00005680| 20 64 69 66 66 65 72 65 | 6e 63 65 2c 20 70 6f 69 | differe|nce, poi|
|00005690| 6e 74 65 64 20 6f 75 74 | 20 65 61 72 6c 69 65 72 |nted out| earlier|
|000056a0| 2c 20 69 73 20 74 68 61 | 74 20 61 20 6d 65 6d 62 |, is tha|t a memb|
|000056b0| 65 72 20 66 75 6e 63 74 | 69 6f 6e 20 68 61 73 20 |er funct|ion has |
|000056c0| 61 63 63 65 73 73 20 74 | 6f 00 00 00 0c 79 00 09 |access t|o....y..|
|000056d0| 00 44 74 68 65 20 64 61 | 74 61 20 6d 65 6d 62 65 |.Dthe da|ta membe|
|000056e0| 72 73 20 61 6e 64 20 6d | 65 6d 62 65 72 20 66 75 |rs and m|ember fu|
|000056f0| 6e 63 74 69 6f 6e 73 20 | 6f 66 20 74 68 65 20 6f |nctions |of the o|
|00005700| 62 6a 65 63 74 20 75 73 | 65 64 20 74 6f 20 63 61 |bject us|ed to ca|
|00005710| 6c 6c 20 69 74 2e 00 00 | 0c 85 00 24 00 4f 41 6e |ll it...|...$.OAn|
|00005720| 6f 74 68 65 72 20 64 69 | 66 66 65 72 65 6e 63 65 |other di|fference|
|00005730| 20 6c 69 65 73 20 69 6e | 20 74 68 65 20 66 75 6e | lies in| the fun|
|00005740| 63 74 69 6f 6e 20 69 6d | 70 6c 65 6d 65 6e 74 61 |ction im|plementa|
|00005750| 74 69 6f 6e ff d5 73 20 | 74 69 74 6c 65 20 6c 69 |tion..s |title li|
|00005760| 6e 65 2e 20 48 65 72 65 | ff d5 73 20 61 00 00 00 |ne. Here|..s a...|
|00005770| 0c 91 00 09 00 07 73 61 | 6d 70 6c 65 3a 00 00 00 |......sa|mple:...|
|00005780| 0c a8 00 12 00 20 c7 c7 | 76 6f 69 64 8c 45 6d 70 |..... ..|void.Emp|
|00005790| 6c 6f 79 65 65 3a 3a 50 | 72 69 6e 74 45 6d 70 6c |loyee::P|rintEmpl|
|000057a0| 6f 79 65 65 28 29 00 00 | 0c b3 00 12 00 03 c7 c7 |oyee()..|........|
|000057b0| 7b 00 00 00 0c be 00 12 | 00 37 c7 89 c7 63 6f 75 |{.......|.7...cou|
|000057c0| 74 20 3c 3c 20 22 45 6d | 70 6c 6f 79 65 65 20 4e |t << "Em|ployee N|
|000057d0| 61 6d 65 3a 20 20 20 22 | 20 3c 3c 20 65 6d 70 6c |ame: "| << empl|
|000057e0| 6f 79 65 65 4e 61 6d 65 | 20 3c 3c 20 22 5c 6e 22 |oyeeName| << "\n"|
|000057f0| 3b 00 00 00 0c c9 00 12 | 00 03 c7 c7 7d 00 00 00 |;.......|....}...|
|00005800| 0c d4 00 12 00 01 c7 00 | 00 00 0c e0 00 24 00 50 |........|.....$.P|
|00005810| 4e 6f 74 69 63 65 20 74 | 68 61 74 20 74 68 65 20 |Notice t|hat the |
|00005820| 66 75 6e 63 74 69 6f 6e | 20 6e 61 6d 65 20 69 73 |function| name is|
|00005830| 20 70 72 65 63 65 64 65 | 64 20 62 79 20 74 68 65 | precede|d by the|
|00005840| 20 63 6c 61 73 73 20 6e | 61 6d 65 20 61 6e 64 20 | class n|ame and |
|00005850| 74 77 6f 20 63 6f 6c 6f | 6e 73 2e 20 54 68 69 73 |two colo|ns. This|
|00005860| 00 00 0c ec 00 09 00 52 | 6e 6f 74 61 74 69 6f 6e |.......R|notation|
|00005870| 20 69 73 20 6d 61 6e 64 | 61 74 6f 72 79 20 61 6e | is mand|atory an|
|00005880| 64 20 74 65 6c 6c 73 20 | 74 68 65 20 63 6f 6d 70 |d tells |the comp|
|00005890| 69 6c 65 72 20 74 68 61 | 74 20 74 68 69 73 20 66 |iler tha|t this f|
|000058a0| 75 6e 63 74 69 6f 6e 20 | 69 73 20 61 20 6d 65 6d |unction |is a mem|
|000058b0| 62 65 72 20 6f 66 20 74 | 68 65 00 00 0c f8 00 09 |ber of t|he......|
|000058c0| 00 10 73 70 65 63 69 66 | 69 65 64 20 63 6c 61 73 |..specif|ied clas|
|000058d0| 73 2e 00 00 0d 0e 00 93 | 00 1a c2 c2 54 68 65 20 |s.......|....The |
|000058e0| 43 6f 6e 73 74 72 75 63 | 74 6f 72 20 46 75 6e 63 |Construc|tor Func|
|000058f0| 74 69 6f 6e 00 00 0d 1f | 00 24 00 46 54 79 70 69 |tion....|.$.FTypi|
|00005900| 63 61 6c 6c 79 2c 20 77 | 68 65 6e 20 79 6f 75 20 |cally, w|hen you |
|00005910| fd 00 0c 61 6e 20 6f 62 | 6a 65 63 74 2c 20 79 6f |...an ob|ject, yo|
|00005920| 75 ff d5 6c 6c 20 77 61 | 6e 74 20 74 6f 20 70 65 |u..ll wa|nt to pe|
|00005930| 72 66 6f 72 6d 20 73 6f | 6d 65 20 73 6f 72 74 20 |rform so|me sort |
|00005940| 6f 66 00 00 0d 2b 00 09 | 00 58 69 6e 69 74 69 61 |of...+..|.Xinitia|
|00005950| 6c 69 7a 61 74 69 6f 6e | 20 6f 6e 20 74 68 65 20 |lization| on the |
|00005960| 6f 62 6a 65 63 74 2e 20 | 46 6f 72 20 69 6e 73 74 |object. |For inst|
|00005970| 61 6e 63 65 2c 20 79 6f | 75 20 6d 69 67 68 74 20 |ance, yo|u might |
|00005980| 77 61 6e 74 20 74 6f 20 | 70 72 6f 76 69 64 65 20 |want to |provide |
|00005990| 69 6e 69 74 69 61 6c 20 | 76 61 6c 75 65 73 20 66 |initial |values f|
|000059a0| 6f 72 00 00 0d 37 00 09 | 00 57 79 6f 75 72 20 6f |or...7..|.Wyour o|
|000059b0| 62 6a 65 63 74 ff d5 73 | 20 64 61 74 61 20 6d 65 |bject..s| data me|
|000059c0| 6d 62 65 72 73 2e 20 54 | 68 65 20 63 6f 6e 73 74 |mbers. T|he const|
|000059d0| 72 75 63 74 6f 72 20 66 | 75 6e 63 74 69 6f 6e 20 |ructor f|unction |
|000059e0| 69 73 20 43 2b 2b ff d5 | 73 20 62 75 69 6c 74 2d |is C++..|s built-|
|000059f0| 69 6e 20 69 6e 69 74 69 | 61 6c 69 7a 61 74 69 6f |in initi|alizatio|
|00005a00| 6e 00 00 00 0d 43 00 09 | 00 0a 6d 65 63 68 61 6e |n....C..|..mechan|
|00005a10| 69 73 6d 2e 00 00 0d 4f | 00 24 00 4e 54 68 65 20 |ism....O|.$.NThe |
|00005a20| 63 6f 6e 73 74 72 75 63 | 74 6f 72 20 66 75 6e 63 |construc|tor func|
|00005a30| 74 69 6f 6e 20 28 6f 72 | 20 6a 75 73 74 20 70 6c |tion (or| just pl|
|00005a40| 61 69 6e 20 63 6f 6e 73 | 74 72 75 63 74 6f 72 29 |ain cons|tructor)|
|00005a50| 20 69 73 20 61 20 6d 65 | 6d 62 65 72 20 66 75 6e | is a me|mber fun|
|00005a60| 63 74 69 6f 6e 20 74 68 | 61 74 00 00 0d 5b 00 09 |ction th|at...[..|
|00005a70| 00 57 68 61 73 20 74 68 | 65 20 73 61 6d 65 20 6e |.Whas th|e same n|
|00005a80| 61 6d 65 20 61 73 20 74 | 68 65 20 6f 62 6a 65 63 |ame as t|he objec|
|00005a90| 74 ff d5 73 20 63 6c 61 | 73 73 2e 20 46 6f 72 20 |t..s cla|ss. For |
|00005aa0| 65 78 61 6d 70 6c 65 2c | 20 74 68 65 20 63 6f 6e |example,| the con|
|00005ab0| 73 74 72 75 63 74 6f 72 | 20 66 6f 72 20 74 68 65 |structor| for the|
|00005ac0| 20 45 6d 70 6c 6f 79 65 | 65 00 00 00 0d 67 00 09 | Employe|e....g..|
|00005ad0| 00 51 63 6c 61 73 73 20 | 69 73 20 6e 61 6d 65 64 |.Qclass |is named|
|00005ae0| 20 45 6d 70 6c 6f 79 65 | 65 28 29 2e 20 57 68 65 | Employe|e(). Whe|
|00005af0| 6e 20 61 6e 20 6f 62 6a | 65 63 74 20 69 73 20 fe |n an obj|ect is .|
|00005b00| 00 0c 64 2c 20 74 68 65 | 20 63 6f 6e 73 74 72 75 |..d, the| constru|
|00005b10| 63 74 6f 72 20 66 6f 72 | 20 74 68 61 74 20 63 6c |ctor for| that cl|
|00005b20| 61 73 73 00 00 00 0d 73 | 00 09 00 0c 67 65 74 73 |ass....s|....gets|
|00005b30| 20 63 61 6c 6c 65 64 2e | 00 00 0d 7f 00 24 00 13 | called.|.....$..|
|00005b40| 43 6f 6e 73 69 64 65 72 | 20 74 68 69 73 20 63 6f |Consider| this co|
|00005b50| 64 65 3a 00 00 00 0d 96 | 00 12 00 18 c7 c7 45 6d |de:.....|......Em|
|00005b60| 70 6c 6f 79 65 65 8f 2a | 65 6d 70 6c 6f 79 65 65 |ployee.*|employee|
|00005b70| 50 74 72 3b 00 00 0d a1 | 00 12 00 1d c7 c7 65 6d |Ptr;....|......em|
|00005b80| 70 6c 6f 79 65 65 50 74 | 72 20 3d 20 6e 65 77 20 |ployeePt|r = new |
|00005b90| 45 6d 70 6c 6f 79 65 65 | 3b 00 00 00 0d ac 00 12 |Employee|;.......|
|00005ba0| 00 01 c7 00 00 00 0d b8 | 00 24 00 4a 49 6e 20 74 |........|.$.JIn t|
|00005bb0| 68 65 20 73 65 63 6f 6e | 64 20 6c 69 6e 65 2c 20 |he secon|d line, |
|00005bc0| 74 68 65 20 6e 65 77 20 | 6f 70 65 72 61 74 6f 72 |the new |operator|
|00005bd0| 20 61 6c 6c 6f 63 61 74 | 65 73 20 61 20 6e 65 77 | allocat|es a new|
|00005be0| 20 45 6d 70 6c 6f 79 65 | 65 20 6f 62 6a 65 63 74 | Employe|e object|
|00005bf0| 2c 20 74 68 65 6e 00 00 | 0d c4 00 09 00 56 69 6d |, then..|.....Vim|
|00005c00| 6d 65 64 69 61 74 65 6c | 79 20 63 61 6c 6c 73 20 |mediatel|y calls |
|00005c10| 74 68 65 20 6f 62 6a 65 | 63 74 ff d5 73 20 63 6f |the obje|ct..s co|
|00005c20| 6e 73 74 72 75 63 74 6f | 72 2e 20 4f 6e 63 65 20 |nstructo|r. Once |
|00005c30| 74 68 65 20 63 6f 6e 73 | 74 72 75 63 74 6f 72 20 |the cons|tructor |
|00005c40| 72 65 74 75 72 6e 73 2c | 20 74 68 65 20 61 64 64 |returns,| the add|
|00005c50| 72 65 73 73 00 00 0d d0 | 00 09 00 2d 6f 66 20 74 |ress....|...-of t|
|00005c60| 68 65 20 6e 65 77 20 6f | 62 6a 65 63 74 20 69 73 |he new o|bject is|
|00005c70| 20 61 73 73 69 67 6e 65 | 64 20 74 6f 20 65 6d 70 | assigne|d to emp|
|00005c80| 6c 6f 79 65 65 50 74 72 | 2e 00 00 00 0d dc 00 24 |loyeePtr|.......$|
|00005c90| 00 32 54 68 69 73 20 73 | 61 6d 65 20 73 63 65 6e |.2This s|ame scen|
|00005ca0| 61 72 69 6f 20 68 6f 6c | 64 73 20 74 72 75 65 20 |ario hol|ds true |
|00005cb0| 69 6e 20 74 68 69 73 20 | 64 65 63 6c 61 72 61 74 |in this |declarat|
|00005cc0| 69 6f 6e 3a 00 00 0d f3 | 00 12 00 15 c7 c7 45 6d |ion:....|......Em|
|00005cd0| 70 6c 6f 79 65 65 8f 65 | 6d 70 6c 6f 79 65 65 31 |ployee.e|mployee1|
|00005ce0| 3b 00 00 00 0d fe 00 12 | 00 01 c7 00 00 00 0e 0a |;.......|........|
|00005cf0| 00 24 00 39 41 73 20 73 | 6f 6f 6e 20 61 73 20 74 |.$.9As s|oon as t|
|00005d00| 68 65 20 6f 62 6a 65 63 | 74 20 69 73 20 fe 00 0c |he objec|t is ...|
|00005d10| 64 2c 20 69 74 73 20 63 | 6f 6e 73 74 72 75 63 74 |d, its c|onstruct|
|00005d20| 6f 72 20 69 73 20 63 61 | 6c 6c 65 64 2e 00 00 00 |or is ca|lled....|
|00005d30| 0e 16 00 24 00 4e 48 65 | 72 65 ff d5 73 20 6f 75 |...$.NHe|re..s ou|
|00005d40| 72 20 45 6d 70 6c 6f 79 | 65 65 20 73 74 72 75 63 |r Employ|ee struc|
|00005d50| 74 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 20 77 69 |t declar|ation wi|
|00005d60| 74 68 20 74 68 65 20 63 | 6f 6e 73 74 72 75 63 74 |th the c|onstruct|
|00005d70| 6f 72 20 64 65 63 6c 61 | 72 61 74 69 6f 6e 20 61 |or decla|ration a|
|00005d80| 64 64 65 64 00 00 0e 22 | 00 09 00 03 69 6e 3a 00 |dded..."|....in:.|
|00005d90| 00 00 0e 39 00 12 00 20 | c7 c7 63 6f 6e 73 74 20 |...9... |..const |
|00005da0| 73 68 6f 72 74 8a 6b 4d | 61 78 4e 61 6d 65 53 69 |short.kM|axNameSi|
|00005db0| 7a 65 20 3d 20 32 30 3b | 00 00 0e 44 00 12 00 01 |ze = 20;|...D....|
|00005dc0| c7 00 00 00 0e 4f 00 12 | 00 11 c7 c7 73 74 72 75 |.....O..|....stru|
|00005dd0| 63 74 20 45 6d 70 6c 6f | 79 65 65 00 00 00 0e 5a |ct Emplo|yee....Z|
|00005de0| 00 12 00 03 c7 c7 7b 00 | 00 00 0e 65 00 12 00 14 |......{.|...e....|
|00005df0| c7 c7 2f 2f 98 44 61 74 | 61 20 6d 65 6d 62 65 72 |..//.Dat|a member|
|00005e00| 73 2e 2e 2e 00 00 0e 70 | 00 12 00 25 c7 96 c7 63 |s......p|...%...c|
|00005e10| 68 61 72 ac 65 6d 70 6c | 6f 79 65 65 4e 61 6d 65 |har.empl|oyeeName|
|00005e20| 5b 20 6b 4d 61 78 4e 61 | 6d 65 53 69 7a 65 20 5d |[ kMaxNa|meSize ]|
|00005e30| 3b 00 00 00 0e 7b 00 12 | 00 13 c7 96 c7 6c 6f 6e |;....{..|.....lon|
|00005e40| 67 ac 65 6d 70 6c 6f 79 | 65 65 49 44 3b 00 00 00 |g.employ|eeID;...|
|00005e50| 0e 86 00 12 00 18 c7 96 | c7 66 6c 6f 61 74 98 65 |........|.float.e|
|00005e60| 6d 70 6c 6f 79 65 65 53 | 61 6c 61 72 79 3b 00 00 |mployeeS|alary;..|
|00005e70| 0e 91 00 12 00 01 c7 00 | 00 00 0e 9c 00 12 00 18 |........|........|
|00005e80| c7 c7 2f 2f 98 4d 65 6d | 62 65 72 20 66 75 6e 63 |..//.Mem|ber func|
|00005e90| 74 69 6f 6e 73 2e 2e 2e | 00 00 0e a7 00 12 00 10 |tions...|........|
|00005ea0| c7 80 00 5e c7 45 6d 70 | 6c 6f 79 65 65 28 29 3b |...^.Emp|loyee();|
|00005eb0| 00 00 0e b2 00 12 00 18 | c7 96 c7 76 6f 69 64 ac |........|...void.|
|00005ec0| 50 72 69 6e 74 45 6d 70 | 6c 6f 79 65 65 28 29 3b |PrintEmp|loyee();|
|00005ed0| 00 00 0e bd 00 12 00 04 | c7 c7 7d 3b 00 00 0e c8 |........|..};....|
|00005ee0| 00 12 00 01 c7 00 00 00 | 0e d4 00 24 00 4c 4e 6f |........|...$.LNo|
|00005ef0| 74 69 63 65 20 74 68 61 | 74 20 74 68 65 20 63 6f |tice tha|t the co|
|00005f00| 6e 73 74 72 75 63 74 6f | 72 20 69 73 20 64 65 63 |nstructo|r is dec|
|00005f10| 6c 61 72 65 64 20 77 69 | 74 68 6f 75 74 20 61 20 |lared wi|thout a |
|00005f20| 72 65 74 75 72 6e 20 76 | 61 6c 75 65 2e 20 43 6f |return v|alue. Co|
|00005f30| 6e 73 74 72 75 63 74 6f | 72 73 00 00 0e e0 00 09 |nstructo|rs......|
|00005f40| 00 15 6e 65 76 65 72 20 | 72 65 74 75 72 6e 20 61 |..never |return a|
|00005f50| 20 76 61 6c 75 65 2e 00 | 00 00 0e ec 00 24 00 1d | value..|.....$..|
|00005f60| 48 65 72 65 ff d5 73 20 | 61 20 73 61 6d 70 6c 65 |Here..s |a sample|
|00005f70| 20 63 6f 6e 73 74 72 75 | 63 74 6f 72 3a 00 00 00 | constru|ctor:...|
|00005f80| 0f 03 00 12 00 16 c7 c7 | 45 6d 70 6c 6f 79 65 65 |........|Employee|
|00005f90| 3a 3a 45 6d 70 6c 6f 79 | 65 65 28 29 00 00 0f 0e |::Employ|ee()....|
|00005fa0| 00 12 00 03 c7 c7 7b 00 | 00 00 0f 19 00 12 00 1a |......{.|........|
|00005fb0| c7 89 c7 65 6d 70 6c 6f | 79 65 65 53 61 6c 61 72 |...emplo|yeeSalar|
|00005fc0| 79 20 3d 20 32 30 30 2e | 30 3b 00 00 0f 24 00 12 |y = 200.|0;...$..|
|00005fd0| 00 03 c7 c7 7d 00 00 00 | 0f 2f 00 12 00 01 c7 00 |....}...|./......|
|00005fe0| 00 00 0f 3b 00 24 00 14 | 54 68 69 73 20 69 73 20 |...;.$..|This is |
|00005ff0| 70 72 6f 70 65 72 20 66 | 6f 72 6d 2e 00 00 0f 51 |proper f|orm....Q|
|00006000| 00 6b 00 27 c2 c2 41 64 | 64 69 6e 67 20 50 61 72 |.k.'..Ad|ding Par|
|00006010| 61 6d 65 74 65 72 73 20 | 74 6f 20 59 6f 75 72 20 |ameters |to Your |
|00006020| 43 6f 6e 73 74 72 75 63 | 74 6f 72 00 00 00 0f 62 |Construc|tor....b|
|00006030| 00 24 00 4f 49 66 20 79 | 6f 75 20 6c 69 6b 65 2c |.$.OIf y|ou like,|
|00006040| 20 79 6f 75 20 63 61 6e | 20 61 64 64 20 70 61 72 | you can| add par|
|00006050| 61 6d 65 74 65 72 73 20 | 74 6f 20 79 6f 75 72 20 |ameters |to your |
|00006060| 63 6f 6e 73 74 72 75 63 | 74 6f 72 2e 20 43 6f 6e |construc|tor. Con|
|00006070| 73 74 72 75 63 74 6f 72 | 20 70 61 72 61 6d 65 74 |structor| paramet|
|00006080| 65 72 73 00 00 00 0f 6e | 00 09 00 5a 61 72 65 20 |ers....n|...Zare |
|00006090| 74 79 70 69 63 61 6c 6c | 79 20 75 73 65 64 20 74 |typicall|y used t|
|000060a0| 6f 20 70 72 6f 76 69 64 | 65 20 69 6e 69 74 69 61 |o provid|e initia|
|000060b0| 6c 20 76 61 6c 75 65 73 | 20 66 6f 72 20 74 68 65 |l values| for the|
|000060c0| 20 6f 62 6a 65 63 74 ff | d5 73 20 64 61 74 61 20 | object.|.s data |
|000060d0| 6d 65 6d 62 65 72 73 2e | 20 48 65 72 65 ff d5 73 |members.| Here..s|
|000060e0| 20 61 20 6e 65 77 00 00 | 0f 7a 00 09 00 26 76 65 | a new..|.z...&ve|
|000060f0| 72 73 69 6f 6e 20 6f 66 | 20 74 68 65 20 45 6d 70 |rsion of| the Emp|
|00006100| 6c 6f 79 65 65 28 29 20 | 63 6f 6e 73 74 72 75 63 |loyee() |construc|
|00006110| 74 6f 72 3a 00 00 0f 91 | 00 12 00 39 c7 c7 45 6d |tor:....|...9..Em|
|00006120| 70 6c 6f 79 65 65 3a 3a | 45 6d 70 6c 6f 79 65 65 |ployee::|Employee|
|00006130| 28 20 63 68 61 72 20 2a | 6e 61 6d 65 2c 20 6c 6f |( char *|name, lo|
|00006140| 6e 67 20 69 64 2c 20 66 | 6c 6f 61 74 20 73 61 6c |ng id, f|loat sal|
|00006150| 61 72 79 20 29 00 00 00 | 0f 9c 00 12 00 03 c7 c7 |ary )...|........|
|00006160| 7b 00 00 00 0f a7 00 12 | 00 2f c7 89 c7 73 74 72 |{.......|./...str|
|00006170| 6e 63 70 79 28 20 65 6d | 70 6c 6f 79 65 65 4e 61 |ncpy( em|ployeeNa|
|00006180| 6d 65 2c 20 6e 61 6d 65 | 2c 20 6b 4d 61 78 4e 61 |me, name|, kMaxNa|
|00006190| 6d 65 53 69 7a 65 20 29 | 3b 00 00 00 0f b2 00 12 |meSize )|;.......|
|000061a0| 00 01 c7 00 00 00 0f bd | 00 12 00 2b c7 89 c7 65 |........|...+...e|
|000061b0| 6d 70 6c 6f 79 65 65 4e | 61 6d 65 5b 20 6b 4d 61 |mployeeN|ame[ kMa|
|000061c0| 78 4e 61 6d 65 53 69 7a | 65 20 2d 20 31 20 5d 20 |xNameSiz|e - 1 ] |
|000061d0| 3d 20 27 5c 30 27 3b 00 | 00 00 0f c8 00 12 00 01 |= '\0';.|........|
|000061e0| c7 00 00 00 0f d3 00 12 | 00 13 c7 89 c7 65 6d 70 |........|.....emp|
|000061f0| 6c 6f 79 65 65 49 44 20 | 3d 20 69 64 3b 00 00 00 |loyeeID |= id;...|
|00006200| 0f de 00 12 00 1b c7 89 | c7 65 6d 70 6c 6f 79 65 |........|.employe|
|00006210| 65 53 61 6c 61 72 79 20 | 3d 20 73 61 6c 61 72 79 |eSalary |= salary|
|00006220| 3b 00 00 00 0f e9 00 12 | 00 03 c7 c7 7d 00 00 00 |;.......|....}...|
|00006230| 0f f4 00 12 00 01 c7 00 | 00 00 10 00 00 24 00 4d |........|.....$.M|
|00006240| 54 68 65 20 63 6f 6e 73 | 74 72 75 63 74 6f 72 20 |The cons|tructor |
|00006250| 63 6f 70 69 65 73 20 74 | 68 65 20 74 68 72 65 65 |copies t|he three|
|00006260| 20 70 61 72 61 6d 65 74 | 65 72 20 76 61 6c 75 65 | paramet|er value|
|00006270| 73 20 69 6e 74 6f 20 74 | 68 65 20 63 6f 72 72 65 |s into t|he corre|
|00006280| 73 70 6f 6e 64 69 6e 67 | 20 64 61 74 61 00 00 00 |sponding| data...|
|00006290| 10 0c 00 09 00 08 6d 65 | 6d 62 65 72 73 2e 00 00 |......me|mbers...|
|000062a0| 10 18 00 24 00 48 54 68 | 65 20 6f 62 6a 65 63 74 |...$.HTh|e object|
|000062b0| 20 74 68 61 74 20 77 61 | 73 20 6a 75 73 74 20 fe | that wa|s just .|
|000062c0| 00 0c 64 20 69 73 20 61 | 6c 77 61 79 73 20 74 68 |..d is a|lways th|
|000062d0| 65 20 63 6f 6e 73 74 72 | 75 63 74 6f 72 ff d5 73 |e constr|uctor..s|
|000062e0| 20 fd 00 0a 6f 62 6a 65 | 63 74 2e 20 49 6e 00 00 | ...obje|ct. In..|
|000062f0| 10 24 00 09 00 4c 6f 74 | 68 65 72 20 77 6f 72 64 |.$...Lot|her word|
|00006300| 73 2c 20 77 68 65 6e 20 | 74 68 65 20 63 6f 6e 73 |s, when |the cons|
|00006310| 74 72 75 63 74 6f 72 20 | 72 65 66 65 72 73 20 74 |tructor |refers t|
|00006320| 6f 20 61 6e 20 45 6d 70 | 6c 6f 79 65 65 20 64 61 |o an Emp|loyee da|
|00006330| 74 61 20 6d 65 6d 62 65 | 72 2c 20 73 75 63 68 20 |ta membe|r, such |
|00006340| 61 73 00 00 10 30 00 09 | 00 52 65 6d 70 6c 6f 79 |as...0..|.Remploy|
|00006350| 65 65 4e 61 6d 65 20 6f | 72 20 65 6d 70 6c 6f 79 |eeName o|r employ|
|00006360| 65 65 53 61 6c 61 72 79 | 2c 20 69 74 20 69 73 20 |eeSalary|, it is |
|00006370| 72 65 66 65 72 72 69 6e | 67 20 74 6f 20 74 68 65 |referrin|g to the|
|00006380| 20 63 6f 70 79 20 6f 66 | 20 74 68 61 74 20 64 61 | copy of| that da|
|00006390| 74 61 20 6d 65 6d 62 65 | 72 20 69 6e 00 00 10 3c |ta membe|r in...<|
|000063a0| 00 09 00 16 74 68 65 20 | 6e 65 77 6c 79 20 fe 00 |....the |newly ..|
|000063b0| 0c 64 20 6f 62 6a 65 63 | 74 2e 00 00 10 48 00 24 |.d objec|t....H.$|
|000063c0| 00 52 54 68 69 73 20 6c | 69 6e 65 20 6f 66 20 63 |.RThis l|ine of c|
|000063d0| 6f 64 65 20 73 75 70 70 | 6c 69 65 73 20 74 68 65 |ode supp|lies the|
|000063e0| 20 6e 65 77 20 6f 70 65 | 72 61 74 6f 72 20 77 69 | new ope|rator wi|
|000063f0| 74 68 20 61 20 73 65 74 | 20 6f 66 20 70 61 72 61 |th a set| of para|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.